Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.00177/0.00177, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.002074/0.002074, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2786/0.2786, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.88 kB / 497.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4639, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003489/0.4674, allocations: 1.825 MB / 0.5506 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.4693, allocations: 0.979 MB / 0.5516 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4694, allocations: 5.125 kB / 0.5516 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.4701, allocations: 304.2 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.4705, allocations: 208.7 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.471, allocations: 173 kB / 0.5523 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.4714, allocations: 248.7 kB / 0.5525 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.4715, allocations: 6.188 kB / 0.5525 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.4717, allocations: 137.7 kB / 0.5526 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.472, allocations: 219.4 kB / 0.5528 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.472, allocations: 6.281 kB / 0.5529 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.4721, allocations: 49 kB / 0.5529 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4723, allocations: 135.3 kB / 0.553 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.4725, allocations: 137.9 kB / 0.5532 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.473, allocations: 376.3 kB / 0.5535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.473, allocations: 0 / 0.5535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.473, allocations: 0 / 0.5535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.473, allocations: 1.125 kB / 0.5535 GB, free: 9.852 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.001052/0.4741, allocations: 0.6733 MB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4741, allocations: 10.39 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.4742, allocations: 49.83 kB / 0.5542 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.4749, allocations: 398.6 kB / 0.5546 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4749, allocations: 6.594 kB / 0.5546 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.4749, allocations: 10.75 kB / 0.5546 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4751, allocations: 84.02 kB / 0.5547 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4752, allocations: 5.062 kB / 0.5547 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4752, allocations: 0 / 0.5547 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4752, allocations: 1.062 kB / 0.5547 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.4753, allocations: 32.52 kB / 0.5547 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4758, allocations: 343.8 kB / 0.5551 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4761, allocations: 103.5 kB / 0.5552 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.4762, allocations: 43.12 kB / 0.5552 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4762, allocations: 6.125 kB / 0.5552 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4764, allocations: 103.8 kB / 0.5553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.4764, allocations: 0 / 0.5553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005313/0.477, allocations: 205.6 kB / 0.5555 GB, free: 8.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.477, allocations: 82.14 kB / 0.5556 GB, free: 8.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.4782, allocations: 1.038 MB / 0.5566 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4782, allocations: 25.7 kB / 0.5566 GB, free: 7.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4784, allocations: 232.1 kB / 0.5569 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.4785, allocations: 31.78 kB / 0.5569 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4786, allocations: 29.7 kB / 0.5569 GB, free: 6.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4788, allocations: 370.7 kB / 0.5573 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.4789, allocations: 27.98 kB / 0.5573 GB, free: 6.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.479, allocations: 51.42 kB / 0.5573 GB, free: 6.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.4792, allocations: 99.41 kB / 0.5574 GB, free: 6.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4792, allocations: 0 / 0.5574 GB, free: 6.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003298/0.4795, allocations: 173.2 kB / 0.5576 GB, free: 6.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4795, allocations: 4 kB / 0.5576 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4795, allocations: 0 / 0.5576 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4796, allocations: 4 kB / 0.5576 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4797, allocations: 27.98 kB / 0.5576 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4797, allocations: 0 / 0.5576 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4798, allocations: 15.98 kB / 0.5577 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4798, allocations: 4 kB / 0.5577 GB, free: 6.195 MB / 398.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002463/0.4801, allocations: 229.5 kB / 0.5579 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.4801, allocations: 55.62 kB / 0.5579 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.4805, allocations: 197.9 kB / 0.5581 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4805, allocations: 8 kB / 0.5581 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4806, allocations: 7.938 kB / 0.5581 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4806, allocations: 0 / 0.5581 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.4809, allocations: 320.4 kB / 0.5584 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4809, allocations: 4 kB / 0.5584 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.481, allocations: 15.94 kB / 0.5585 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.481, allocations: 0 / 0.5585 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.481, allocations: 4 kB / 0.5585 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.481, allocations: 0 / 0.5585 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.481, allocations: 0 / 0.5585 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.4814, allocations: 221.4 kB / 0.5587 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.4815, allocations: 63.66 kB / 0.5587 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.4816, allocations: 0 / 0.5587 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.4817, allocations: 11.98 kB / 0.5587 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4817, allocations: 7.984 kB / 0.5588 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4817, allocations: 4 kB / 0.5588 GB, free: 4.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009717/0.4827, allocations: 0.7761 MB / 0.5595 GB, free: 4.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4827, allocations: 0 / 0.5595 GB, free: 4.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.483, allocations: 47.92 kB / 0.5596 GB, free: 4.168 MB / 398.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001521/0.4845, allocations: 428.7 kB / 0.56 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.4848, allocations: 83.89 kB / 0.56 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4848, allocations: 0 / 0.56 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4849, allocations: 44.05 kB / 0.5601 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.4854, allocations: 75.16 kB / 0.5602 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4869, allocations: 0.8738 MB / 0.561 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4874, allocations: 0.8463 MB / 0.5618 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4875, allocations: 58.94 kB / 0.5619 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.4876, allocations: 31.42 kB / 0.5619 GB, free: 1.844 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4876, allocations: 0 / 0.5619 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Templates: time 0.009548/0.4972, allocations: 3.854 MB / 0.5657 GB, free: 14.01 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.871362317353487]