Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00176/0.00176, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002162/0.002162, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2275/0.2275, allocations: 44.91 MB / 359.6 MB, free: 6.246 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [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.002374/0.002374, allocations: 71.91 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4333, allocations: 65.48 MB / 0.5583 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004473/0.4378, allocations: 1.83 MB / 0.5601 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.4415, allocations: 1.808 MB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.4416, allocations: 4 kB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.4421, allocations: 55.62 kB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.4426, allocations: 135.4 kB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.443, allocations: 115.6 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.4434, allocations: 211.3 kB / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.4435, allocations: 9.797 kB / 0.5624 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.4437, allocations: 91.62 kB / 0.5625 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.444, allocations: 83.61 kB / 0.5625 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.444, allocations: 15.94 kB / 0.5626 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.4443, allocations: 111.9 kB / 0.5627 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.4444, allocations: 35.91 kB / 0.5627 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.4445, allocations: 59.59 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.445, allocations: 237.4 kB / 0.563 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.445, allocations: 0 / 0.563 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.445, allocations: 4 kB / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.445, allocations: 0 / 0.563 GB, free: 2.844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008969/0.4459, allocations: 425 kB / 0.5634 GB, free: 2.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4459, allocations: 12.03 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.446, allocations: 24.78 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.4465, allocations: 198.1 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4465, allocations: 8.344 kB / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4465, allocations: 12.12 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.4468, allocations: 93.09 kB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4468, allocations: 0 / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4468, allocations: 3.984 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4468, allocations: 0 / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.447, allocations: 31.92 kB / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.4473, allocations: 197.6 kB / 0.5639 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.4476, allocations: 101.2 kB / 0.564 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.4477, allocations: 37.64 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.4477, allocations: 11.98 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4479, allocations: 109 kB / 0.5642 GB, free: 1.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4479, allocations: 0 / 0.5642 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005008/0.4484, allocations: 161.5 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4486, allocations: 140.5 kB / 0.5645 GB, free: 1.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.4489, allocations: 240.1 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4489, allocations: 25.7 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.449, allocations: 116.1 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.4491, allocations: 27.8 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.4491, allocations: 33.66 kB / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4493, allocations: 330.8 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.4494, allocations: 31.98 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4495, allocations: 73.12 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.4497, allocations: 87.86 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4497, allocations: 4.031 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.4501, allocations: 137.5 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4501, allocations: 7.984 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4501, allocations: 4 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4501, allocations: 0 / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4502, allocations: 23.94 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4502, allocations: 7.938 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.4503, allocations: 15.88 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.4504, allocations: 4 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001661/0.4505, allocations: 142.3 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.4506, allocations: 19.84 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.4509, allocations: 142.7 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4509, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4509, allocations: 4 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4509, allocations: 3.938 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.4512, allocations: 204.5 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4512, allocations: 4 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.4512, allocations: 8 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4512, allocations: 0 / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4512, allocations: 4 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4512, allocations: 0 / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4512, allocations: 0 / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.4516, allocations: 182 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.4516, allocations: 19.84 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.4517, allocations: 12 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.4517, allocations: 7.984 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4518, allocations: 3.984 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4518, allocations: 8 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.452, allocations: 173.8 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.452, allocations: 0 / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.4523, allocations: 59.86 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001929/0.4543, allocations: 0.4916 MB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.4546, allocations: 79.91 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4546, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4547, allocations: 39.97 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.4551, allocations: 58.14 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.4558, allocations: 313.3 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.4563, allocations: 0.7204 MB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.4563, allocations: 27.42 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4563, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.007343/0.4637, allocations: 3.19 MB / 0.5713 GB, free: 10.06 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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: 8.213885453063995]