Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 113.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002661/0.002661, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4407, allocations: 60.82 MB / 0.519 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003373/0.4441, allocations: 1.703 MB / 0.5206 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4462, allocations: 1.488 MB / 0.5221 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.4463, allocations: 5.031 kB / 0.5221 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.4466, allocations: 33.22 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.4469, allocations: 58.66 kB / 0.5222 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4472, allocations: 114.2 kB / 0.5223 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.4474, allocations: 100.8 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4475, allocations: 7.281 kB / 0.5224 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4476, allocations: 43.28 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.4478, allocations: 46.47 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4478, allocations: 4.625 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.448, allocations: 59.33 kB / 0.5226 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.4481, allocations: 18.47 kB / 0.5226 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.4481, allocations: 29.94 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.4484, allocations: 119.5 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4485, allocations: 1.156 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4485, allocations: 3.938 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4485, allocations: 0 / 0.5227 GB, free: 1.336 MB / 382.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.0005448/0.449, allocations: 405.6 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4491, allocations: 8.812 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.4492, allocations: 10.08 kB / 0.5231 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.4494, allocations: 212.3 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4495, allocations: 3.422 kB / 0.5233 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.4495, allocations: 10.31 kB / 0.5233 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4497, allocations: 73.92 kB / 0.5234 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4497, allocations: 2.047 kB / 0.5234 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4497, allocations: 4 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4497, allocations: 5.062 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.4498, allocations: 21.88 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.4501, allocations: 276.9 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.4503, allocations: 60.05 kB / 0.5238 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4504, allocations: 24.27 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.4504, allocations: 1.438 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.4506, allocations: 65.91 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.4506, allocations: 0 / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005684/0.4512, allocations: 163 kB / 0.524 GB, free: 156 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4512, allocations: 83.42 kB / 0.5241 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4514, allocations: 157 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4515, allocations: 27.42 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.4515, allocations: 93.19 kB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.4516, allocations: 30.48 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.4516, allocations: 26.2 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.4519, allocations: 325.7 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.452, allocations: 16.94 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.452, allocations: 53.72 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4522, allocations: 53.25 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4522, allocations: 1.719 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.4524, allocations: 99.8 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4524, allocations: 5.672 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4524, allocations: 1.406 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4524, allocations: 1.438 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.4525, allocations: 18.88 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4525, allocations: 1.281 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.4526, allocations: 7.891 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4526, allocations: 2.875 kB / 0.525 GB, free: 15.3 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 (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.0001871/0.4528, allocations: 124.9 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.4528, allocations: 9.359 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.4529, allocations: 17.7 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4529, allocations: 1.312 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4529, allocations: 1.266 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4529, allocations: 7.938 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.4534, allocations: 388.8 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4534, allocations: 9.844 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.4534, allocations: 12.69 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4534, allocations: 0 / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4534, allocations: 6.562 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.4535, allocations: 2.578 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4535, allocations: 0 / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.4537, allocations: 200.6 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4538, allocations: 88.06 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.4538, allocations: 7.438 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.4539, allocations: 2.562 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.4539, allocations: 6.062 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4539, allocations: 12.42 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.866e-05/0.454, allocations: 119.6 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.454, allocations: 0 / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4543, allocations: 31.69 kB / 0.526 GB, free: 14.41 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: 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 (8): * Single equations (assignments): 6 * 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.00125/0.4556, allocations: 0.4913 MB / 0.5264 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.4559, allocations: 64.44 kB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4559, allocations: 0 / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.456, allocations: 28.88 kB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4564, allocations: 35.47 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.457, allocations: 189.6 kB / 0.5268 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.4575, allocations: 0.7004 MB / 0.5274 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.4576, allocations: 21.8 kB / 0.5275 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.4577, allocations: 18.78 kB / 0.5275 GB, free: 13.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4577, allocations: 0 / 0.5275 GB, free: 13.27 MB / 398.1 MB Notification: Performance of Templates: time 0.006529/0.4642, allocations: 1.959 MB / 0.5294 GB, free: 12.54 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches