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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 192.2 kB / 22.93 MB, free: 5.594 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.784/1.784, allocations: 207.6 MB / 233.5 MB, free: 11 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 59.92 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4134, allocations: 49.14 MB / 394.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002741/0.4161, allocations: 1.557 MB / 396.1 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4181, allocations: 0.9187 MB / 397 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.4181, allocations: 1.062 kB / 397 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.4182, allocations: 14.06 kB / 397 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.4183, allocations: 27.89 kB / 397 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.4186, allocations: 52.16 kB / 397.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.4188, allocations: 160 kB / 397.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.419, allocations: 19.83 kB / 397.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008545/0.4198, allocations: 0.6354 MB / 397.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.42, allocations: 80.83 kB / 398 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.42, allocations: 10.41 kB / 398 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.4201, allocations: 11.41 kB / 398 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4202, allocations: 81.84 kB / 398.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.4203, allocations: 133.8 kB / 398.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.4209, allocations: 455.9 kB / 398.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4209, allocations: 0 / 398.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4209, allocations: 1.219 kB / 398.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.4209, allocations: 4 kB / 398.7 MB, free: 7.227 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.0007825/0.4217, allocations: 0.8269 MB / 399.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4217, allocations: 9.922 kB / 399.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.4218, allocations: 45.72 kB / 399.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.4221, allocations: 303.8 kB / 399.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4221, allocations: 7.125 kB / 399.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.4221, allocations: 16.88 kB / 399.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.4226, allocations: 168.8 kB / 400 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4226, allocations: 0 / 400 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.4226, allocations: 12.83 kB / 400 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4226, allocations: 1.219 kB / 400 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.4228, allocations: 83.75 kB / 400.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.4236, allocations: 0.5046 MB / 400.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4238, allocations: 97.86 kB / 400.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.424, allocations: 88.44 kB / 400.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.424, allocations: 8.031 kB / 400.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.4244, allocations: 238.1 kB / 401.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.4244, allocations: 0 / 401.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001055/0.4255, allocations: 0.6119 MB / 401.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.4256, allocations: 198.5 kB / 401.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.4263, allocations: 0.5599 MB / 402.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.4263, allocations: 30.17 kB / 402.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.4264, allocations: 120.6 kB / 402.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.4264, allocations: 29.56 kB / 402.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4266, allocations: 103.5 kB / 402.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.4267, allocations: 332.9 kB / 403 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4269, allocations: 83.34 kB / 403.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.4271, allocations: 98.86 kB / 403.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.4274, allocations: 440.3 kB / 403.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4274, allocations: 0 / 403.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007325/0.4282, allocations: 0.5037 MB / 404.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.4283, allocations: 153.9 kB / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4283, allocations: 2.188 kB / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4283, allocations: 0 / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.4283, allocations: 1.469 kB / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.4283, allocations: 2.078 kB / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.4285, allocations: 13.39 kB / 404.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4287, allocations: 104.2 kB / 404.4 MB, free: 3.234 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.0004405/0.4291, allocations: 399.2 kB / 404.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.4292, allocations: 47.31 kB / 404.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.4293, allocations: 72.69 kB / 404.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4293, allocations: 0.75 kB / 404.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4293, allocations: 1.5 kB / 404.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4293, allocations: 0 / 404.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.4307, allocations: 0.9661 MB / 405.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4307, allocations: 6.125 kB / 405.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.4307, allocations: 0 / 405.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4307, allocations: 0 / 405.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.4307, allocations: 23.45 kB / 405.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4307, allocations: 5.375 kB / 405.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4307, allocations: 7.875 kB / 405.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.4315, allocations: 0.6558 MB / 406.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.4319, allocations: 269.3 kB / 406.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.432, allocations: 16.25 kB / 406.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.4321, allocations: 11.91 kB / 406.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.4323, allocations: 59.02 kB / 406.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.4324, allocations: 104.8 kB / 407 MB, free: 1.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005176/0.4329, allocations: 419.4 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4329, allocations: 0 / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.4332, allocations: 53.75 kB / 407.5 MB, free: 1.344 MB / 318.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.0001385/0.4334, allocations: 114.5 kB / 407.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.4339, allocations: 487.8 kB / 408.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4339, allocations: 0 / 408.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4342, allocations: 383.2 kB / 408.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008612/0.4351, allocations: 194.6 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4364, allocations: 0.7722 MB / 409.4 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.437, allocations: 0.8185 MB / 410.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.641e-05/0.4371, allocations: 11.55 kB / 410.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.4372, allocations: 14.12 kB / 410.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4372, allocations: 0 / 410.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Templates: time 0.01507/0.4522, allocations: 7.485 MB / 417.7 MB, free: 11.57 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: 5.578744103200734]