Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001212/0.001212, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.479/1.479, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2934/0.2934, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 79.88 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4614, allocations: 60.82 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004127/0.4656, allocations: 1.728 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.4674, allocations: 0.8759 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.4676, allocations: 5.281 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.468, allocations: 97.52 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.4685, allocations: 93.84 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.4689, allocations: 114.4 kB / 0.5218 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.4693, allocations: 126.2 kB / 0.522 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4694, allocations: 20.3 kB / 0.522 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.4696, allocations: 55.56 kB / 0.522 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.4697, allocations: 70.17 kB / 0.5221 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4698, allocations: 5.594 kB / 0.5221 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.47, allocations: 59.41 kB / 0.5222 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.47, allocations: 28.19 kB / 0.5222 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.4701, allocations: 44.44 kB / 0.5222 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.4705, allocations: 152.2 kB / 0.5224 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4705, allocations: 4 kB / 0.5224 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4705, allocations: 3.938 kB / 0.5224 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4705, allocations: 1.188 kB / 0.5224 GB, free: 1.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007387/0.4713, allocations: 441.7 kB / 0.5228 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4713, allocations: 9.312 kB / 0.5228 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.4714, allocations: 15.52 kB / 0.5228 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.4717, allocations: 226 kB / 0.523 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4717, allocations: 5.812 kB / 0.5231 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.4718, allocations: 13.28 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.472, allocations: 68.75 kB / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.472, allocations: 1.5 kB / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.472, allocations: 0 / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.4721, allocations: 1.531 kB / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4722, allocations: 31.52 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.4727, allocations: 314.4 kB / 0.5235 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.473, allocations: 76.14 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.4731, allocations: 28.14 kB / 0.5236 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.4731, allocations: 2.844 kB / 0.5236 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.4733, allocations: 86.92 kB / 0.5236 GB, free: 348 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.4733, allocations: 0 / 0.5236 GB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009848/0.4743, allocations: 267.8 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4744, allocations: 61.95 kB / 0.524 GB, free: 156 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4747, allocations: 247.2 kB / 0.5242 GB, free: 8 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.4748, allocations: 28.05 kB / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.4749, allocations: 111.2 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.4749, allocations: 36.41 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.475, allocations: 30.77 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4752, allocations: 324.2 kB / 0.5247 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.4753, allocations: 40.59 kB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4754, allocations: 55.78 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.4756, allocations: 92.77 kB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4756, allocations: 0.9062 kB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003158/0.4759, allocations: 146 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4759, allocations: 6.094 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4759, allocations: 4 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.476, allocations: 1.969 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.4761, allocations: 22.77 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4761, allocations: 3.938 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.4762, allocations: 7.266 kB / 0.5251 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4762, allocations: 4.281 kB / 0.5251 GB, free: 15.31 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 (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.0001516/0.4763, allocations: 138 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.4764, allocations: 18.95 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.4765, allocations: 28.38 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4765, allocations: 1.344 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4765, allocations: 5.375 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4765, allocations: 0.7969 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.4773, allocations: 477.2 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4773, allocations: 3.938 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.4774, allocations: 16.2 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4774, allocations: 5.188 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.4774, allocations: 7.656 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4774, allocations: 1.062 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4774, allocations: 1.922 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.4778, allocations: 248.5 kB / 0.526 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.4779, allocations: 90.98 kB / 0.5261 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4779, allocations: 7.141 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.478, allocations: 7.703 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.4781, allocations: 8.547 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4781, allocations: 5.297 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.4783, allocations: 184.2 kB / 0.5263 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.715e-06/0.4783, allocations: 0 / 0.5263 GB, free: 14.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.4787, allocations: 36.34 kB / 0.5263 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001269/0.4799, allocations: 0.5065 MB / 0.5268 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.4802, allocations: 92.56 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4802, allocations: 3.938 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4803, allocations: 51.56 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.4808, allocations: 38.97 kB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.4814, allocations: 308.5 kB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4818, allocations: 0.7236 MB / 0.528 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.034e-05/0.4819, allocations: 19.25 kB / 0.528 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.482, allocations: 23.84 kB / 0.528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.482, allocations: 0 / 0.528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Templates: time 0.006358/0.4883, allocations: 2.081 MB / 0.5301 GB, free: 12.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches