Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001358/0.001358, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001517/0.001517, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 44.94 MB / 359.6 MB, free: 6.141 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002161/0.002161, allocations: 65.62 kB / 0.4943 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.364, allocations: 65.48 MB / 0.5583 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003327/0.3673, allocations: 1.659 MB / 0.5599 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3692, allocations: 0.9481 MB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.3692, allocations: 0 / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.3696, allocations: 59.73 kB / 0.5609 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.37, allocations: 103.5 kB / 0.561 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3702, allocations: 75.72 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3704, allocations: 107.6 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.3704, allocations: 4.234 kB / 0.5611 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.3705, allocations: 51.77 kB / 0.5612 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3706, allocations: 35.84 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3706, allocations: 4 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.3707, allocations: 35.97 kB / 0.5613 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.3708, allocations: 19.88 kB / 0.5613 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.3709, allocations: 31.73 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.3711, allocations: 106.1 kB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3711, allocations: 0 / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3711, allocations: 0 / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3711, allocations: 0 / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006163/0.3717, allocations: 333.7 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3718, allocations: 12.03 kB / 0.5617 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.3718, allocations: 8.891 kB / 0.5617 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3722, allocations: 150.3 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3722, allocations: 4.375 kB / 0.5619 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3722, allocations: 4.125 kB / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3724, allocations: 61.59 kB / 0.562 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3724, allocations: 3.938 kB / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3724, allocations: 0 / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3724, allocations: 0 / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.3725, allocations: 15.98 kB / 0.562 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.3727, allocations: 125.3 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3729, allocations: 58.61 kB / 0.5621 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.373, allocations: 20.84 kB / 0.5622 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.373, allocations: 0 / 0.5622 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3732, allocations: 75.27 kB / 0.5622 GB, free: 3.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3732, allocations: 0 / 0.5622 GB, free: 3.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000324/0.3735, allocations: 97.62 kB / 0.5623 GB, free: 3.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.3736, allocations: 51.41 kB / 0.5624 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3738, allocations: 187.2 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.374, allocations: 25.7 kB / 0.5626 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.3741, allocations: 108.1 kB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3741, allocations: 11.89 kB / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.3742, allocations: 29.64 kB / 0.5627 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003536/0.3745, allocations: 314.8 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.3746, allocations: 15.98 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.3747, allocations: 33.7 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3748, allocations: 45.7 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3748, allocations: 0 / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001798/0.3749, allocations: 93.5 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.375, allocations: 4 kB / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.375, allocations: 0 / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.375, allocations: 4 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.3751, allocations: 11.98 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3751, allocations: 0 / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.3751, allocations: 4 kB / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3751, allocations: 3.938 kB / 0.5632 GB, free: 2.148 MB / 398.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001435/0.3753, allocations: 129.8 kB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.3753, allocations: 11.89 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3756, allocations: 98.88 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3757, allocations: 3.984 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3757, allocations: 0 / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3757, allocations: 4.375 kB / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3758, allocations: 133.2 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3758, allocations: 8 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.3758, allocations: 4 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3758, allocations: 3.938 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3759, allocations: 0 / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3759, allocations: 3.984 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3759, allocations: 0 / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3761, allocations: 121 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.3761, allocations: 23.77 kB / 0.5638 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3761, allocations: 4 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.3762, allocations: 0 / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3762, allocations: 7.984 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3762, allocations: 4 kB / 0.5638 GB, free: 1.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3764, allocations: 138.1 kB / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3766, allocations: 19.98 kB / 0.5639 GB, free: 1.371 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001671/0.3782, allocations: 442 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3784, allocations: 43.92 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3784, allocations: 3.938 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.3785, allocations: 23.98 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3788, allocations: 27.36 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.3793, allocations: 239.5 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.3794, allocations: 93.31 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3795, allocations: 15.44 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3795, allocations: 0 / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of Templates: time 0.004087/0.3836, allocations: 1.729 MB / 0.5665 GB, free: 14.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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: 7.95228605158627]