Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.002143/0.002143, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001675/0.001675, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.92 MB / 360.8 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 59.91 kB / 0.4967 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3768, allocations: 66.04 MB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004506/0.3813, allocations: 2.302 MB / 0.5635 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3839, allocations: 1.342 MB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.384, allocations: 7.875 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.3845, allocations: 143.3 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.385, allocations: 262.9 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.3855, allocations: 191.5 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.3861, allocations: 474.6 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3863, allocations: 48.89 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.3868, allocations: 346.9 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.387, allocations: 175.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.3871, allocations: 20 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3873, allocations: 71.97 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.3875, allocations: 163.3 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3877, allocations: 202.3 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.3882, allocations: 480.2 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3882, allocations: 0 / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3882, allocations: 0 / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3883, allocations: 0 / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001259/0.3895, allocations: 0.8457 MB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3896, allocations: 12.03 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3897, allocations: 68.47 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.3903, allocations: 385.6 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3903, allocations: 16.3 kB / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.3904, allocations: 24.08 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.3908, allocations: 197.5 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3908, allocations: 3.938 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3908, allocations: 8 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3908, allocations: 4 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.3911, allocations: 87.92 kB / 0.5688 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3922, allocations: 0.8046 MB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.3928, allocations: 230.5 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.393, allocations: 79.53 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.3931, allocations: 15.92 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.3935, allocations: 192.3 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.3935, allocations: 0 / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002711/0.3962, allocations: 1.199 MB / 0.5713 GB, free: 9.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.3963, allocations: 132.5 kB / 0.5714 GB, free: 9.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3974, allocations: 0.9614 MB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3975, allocations: 37.69 kB / 0.5724 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.3977, allocations: 273 kB / 0.5726 GB, free: 8.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.3978, allocations: 158.7 kB / 0.5728 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.398, allocations: 82.09 kB / 0.5729 GB, free: 8.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3981, allocations: 326 kB / 0.5732 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.3984, allocations: 104.8 kB / 0.5733 GB, free: 7.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3987, allocations: 191.2 kB / 0.5735 GB, free: 7.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.3993, allocations: 315.1 kB / 0.5738 GB, free: 7.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3993, allocations: 0 / 0.5738 GB, free: 7.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007925/0.4001, allocations: 444.8 kB / 0.5742 GB, free: 6.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4001, allocations: 11.94 kB / 0.5742 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4001, allocations: 0 / 0.5742 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4001, allocations: 7.984 kB / 0.5742 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.4004, allocations: 88.03 kB / 0.5743 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4004, allocations: 4.234 kB / 0.5743 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4006, allocations: 27.86 kB / 0.5743 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.4006, allocations: 23.98 kB / 0.5743 GB, free: 6.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003619/0.401, allocations: 248.2 kB / 0.5746 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.4011, allocations: 87.47 kB / 0.5747 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009903/0.4021, allocations: 0.4997 MB / 0.5752 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4021, allocations: 4 kB / 0.5752 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4021, allocations: 4 kB / 0.5752 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4021, allocations: 7.922 kB / 0.5752 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.404, allocations: 1.302 MB / 0.5764 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.404, allocations: 0 / 0.5764 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.4041, allocations: 63.91 kB / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4041, allocations: 4 kB / 0.5765 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4042, allocations: 15.98 kB / 0.5765 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.4042, allocations: 12.19 kB / 0.5765 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4042, allocations: 7.984 kB / 0.5765 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4052, allocations: 0.7967 MB / 0.5773 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.4054, allocations: 107.5 kB / 0.5774 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.4055, allocations: 12 kB / 0.5774 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.4058, allocations: 23.98 kB / 0.5775 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.4059, allocations: 39.81 kB / 0.5775 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.4059, allocations: 27.98 kB / 0.5775 GB, free: 3.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000875/0.4068, allocations: 0.6985 MB / 0.5782 GB, free: 2.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4068, allocations: 0 / 0.5782 GB, free: 2.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005971/0.4074, allocations: 91.92 kB / 0.5783 GB, free: 2.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002114/0.4095, allocations: 0.5411 MB / 0.5788 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.4102, allocations: 296.3 kB / 0.5791 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4102, allocations: 4 kB / 0.5791 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.4105, allocations: 152.4 kB / 0.5792 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4114, allocations: 131.5 kB / 0.5794 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.4133, allocations: 1.206 MB / 0.5806 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.4139, allocations: 0.9094 MB / 0.5814 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.4142, allocations: 83.28 kB / 0.5815 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4143, allocations: 51.42 kB / 0.5816 GB, free: 15.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4143, allocations: 0 / 0.5816 GB, free: 15.1 MB / 430.1 MB Notification: Performance of Templates: time 0.0134/0.4277, allocations: 5.745 MB / 0.5872 GB, free: 9.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.81342211086303]