Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001874/0.001874, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002255/0.002255, allocations: 209.1 kB / 23.73 MB, free: 4.387 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2407/0.2407, allocations: 46.95 MB / 360.9 MB, free: 4.129 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003005/0.003005, allocations: 63.91 kB / 0.4967 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4369, allocations: 66.03 MB / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004552/0.4414, allocations: 1.717 MB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.444, allocations: 0.9676 MB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4441, allocations: 0 / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.4445, allocations: 55.75 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.445, allocations: 103.5 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.4454, allocations: 79.67 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.4457, allocations: 99.75 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4458, allocations: 7.984 kB / 0.5641 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4459, allocations: 39.8 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4461, allocations: 43.7 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.4461, allocations: 4 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4463, allocations: 39.98 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4464, allocations: 27.92 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.4464, allocations: 27.75 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.4468, allocations: 137.8 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4468, allocations: 3.938 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4468, allocations: 4 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4468, allocations: 0 / 0.5644 GB, free: 0.7656 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008505/0.4477, allocations: 361.4 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4477, allocations: 12.03 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.4478, allocations: 8.891 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.4482, allocations: 155.1 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4482, allocations: 8.375 kB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.4483, allocations: 4.125 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4485, allocations: 61.66 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4485, allocations: 0 / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4485, allocations: 4 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4485, allocations: 3.938 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4486, allocations: 19.98 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.4492, allocations: 240.5 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.4494, allocations: 58.67 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.4495, allocations: 24.8 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.4495, allocations: 3.984 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.4497, allocations: 71.33 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.4497, allocations: 0 / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000786/0.4505, allocations: 181.7 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.4505, allocations: 55.41 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.4509, allocations: 242.9 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.451, allocations: 29.64 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4511, allocations: 120.1 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.4511, allocations: 27.84 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.4512, allocations: 21.72 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4514, allocations: 330.8 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.4515, allocations: 19.98 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4516, allocations: 33.7 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4518, allocations: 73.69 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4518, allocations: 0 / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000294/0.4521, allocations: 109.5 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.4521, allocations: 12.03 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4521, allocations: 0 / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4522, allocations: 0 / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4523, allocations: 15.98 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4523, allocations: 4 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.4524, allocations: 0 / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4524, allocations: 4 kB / 0.5666 GB, free: 14.3 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001479/0.4525, allocations: 133.8 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.4526, allocations: 15.91 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.4529, allocations: 127.2 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4529, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4529, allocations: 4 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4529, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.4536, allocations: 358.8 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4536, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.4537, allocations: 16.2 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4537, allocations: 0 / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4537, allocations: 4 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4537, allocations: 3.938 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4537, allocations: 7.969 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.4541, allocations: 216.2 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.4541, allocations: 15.89 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4542, allocations: 4 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4543, allocations: 4 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.4543, allocations: 11.92 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4543, allocations: 4 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.4546, allocations: 183.2 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.455, allocations: 20 kB / 0.5677 GB, free: 13.12 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: 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 (9): * Single equations (assignments): 7 * 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.002278/0.4573, allocations: 494.9 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.4575, allocations: 63.91 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4575, allocations: 0 / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4577, allocations: 31.98 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.4582, allocations: 45.16 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.4589, allocations: 271.1 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.459, allocations: 100.7 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.24e-05/0.4591, allocations: 21.33 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.4592, allocations: 19.44 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4592, allocations: 0 / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.007773/0.467, allocations: 1.923 MB / 0.5706 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.3745352160185575]