Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66.67 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002901/0.3028, allocations: 1.499 MB / 398.3 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3046, allocations: 0.8688 MB / 399.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.3046, allocations: 1.375 kB / 399.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.3047, allocations: 17.8 kB / 399.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.3048, allocations: 19.77 kB / 399.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.3051, allocations: 52.94 kB / 399.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3054, allocations: 165.9 kB / 399.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3055, allocations: 18.08 kB / 399.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009055/0.3064, allocations: 0.6328 MB / 400.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3066, allocations: 83.02 kB / 400.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.3066, allocations: 15.56 kB / 400.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.3067, allocations: 11.5 kB / 400.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3068, allocations: 73 kB / 400.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3069, allocations: 100.6 kB / 400.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.3074, allocations: 461 kB / 400.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3074, allocations: 4.703 kB / 400.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3074, allocations: 0 / 400.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3074, allocations: 0 / 400.8 MB, free: 7.336 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007127/0.3082, allocations: 0.755 MB / 401.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3082, allocations: 13.39 kB / 401.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.3083, allocations: 46.95 kB / 401.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3085, allocations: 238.9 kB / 401.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3086, allocations: 6.031 kB / 401.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3086, allocations: 12.69 kB / 401.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.309, allocations: 317.2 kB / 402.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.309, allocations: 0 / 402.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.309, allocations: 7.531 kB / 402.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.309, allocations: 5.094 kB / 402.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3093, allocations: 232.9 kB / 402.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.3099, allocations: 437.1 kB / 402.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.3102, allocations: 246.5 kB / 403.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3104, allocations: 230.8 kB / 403.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.3104, allocations: 1.031 kB / 403.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.3108, allocations: 395.3 kB / 403.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3108, allocations: 0 / 403.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001042/0.3118, allocations: 0.9079 MB / 404.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.3119, allocations: 194.6 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.3126, allocations: 0.5569 MB / 405.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3126, allocations: 33.3 kB / 405.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3126, allocations: 126.2 kB / 405.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3127, allocations: 28.19 kB / 405.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3128, allocations: 103.2 kB / 405.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.3129, allocations: 332.8 kB / 406 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3131, allocations: 225.2 kB / 406.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3133, allocations: 245.1 kB / 406.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3137, allocations: 451 kB / 406.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3137, allocations: 0 / 406.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007087/0.3144, allocations: 0.6449 MB / 407.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.3145, allocations: 151.8 kB / 407.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3145, allocations: 4.547 kB / 407.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3145, allocations: 1.375 kB / 407.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.3145, allocations: 10.02 kB / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.3145, allocations: 0 / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3147, allocations: 13.48 kB / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.3149, allocations: 95.52 kB / 407.8 MB, free: 1.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.3153, allocations: 399.1 kB / 408.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.3153, allocations: 47.69 kB / 408.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.3154, allocations: 72.83 kB / 408.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3154, allocations: 4 kB / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3155, allocations: 1.859 kB / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3155, allocations: 0 / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.3168, allocations: 1.04 MB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3168, allocations: 0 / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.3168, allocations: 1.375 kB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3168, allocations: 0.75 kB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.3168, allocations: 22.73 kB / 409.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3168, allocations: 9.188 kB / 409.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3168, allocations: 3.938 kB / 409.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.3177, allocations: 0.8069 MB / 410.2 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.3181, allocations: 222.1 kB / 410.4 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.3182, allocations: 12.8 kB / 410.4 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3183, allocations: 11.84 kB / 410.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.3185, allocations: 54.08 kB / 410.5 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.3186, allocations: 105 kB / 410.6 MB, free: 44 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.3192, allocations: 428.2 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3192, allocations: 0 / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.3196, allocations: 52.78 kB / 411.1 MB, free: 15.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.3197, allocations: 112.9 kB / 411.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008965/0.3206, allocations: 0.7615 MB / 412 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3206, allocations: 1.031 kB / 412 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.3211, allocations: 0.5254 MB / 412.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.322, allocations: 190.1 kB / 412.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3234, allocations: 0.9012 MB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3237, allocations: 216.7 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.3238, allocations: 16.59 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.3238, allocations: 18.25 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3238, allocations: 0 / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Templates: time 0.01296/0.3368, allocations: 8.135 MB / 422 MB, free: 8.676 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.780523395165801]