Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001302/0.001303, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.487/1.487, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2609/0.2609, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4564, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003116/0.4596, allocations: 1.718 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.461, allocations: 0.8732 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.4611, allocations: 5.25 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.4615, allocations: 36.97 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.4617, allocations: 62.22 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.4621, allocations: 113.6 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4623, allocations: 100.8 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.4624, allocations: 11.31 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.4625, allocations: 41.08 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.4626, allocations: 29.48 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4626, allocations: 4.188 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.4627, allocations: 42.97 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.4628, allocations: 24.91 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.4629, allocations: 41.42 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.4631, allocations: 116.5 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4631, allocations: 7.938 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4631, allocations: 1.031 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4632, allocations: 0 / 0.5221 GB, free: 1.535 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.0005304/0.4637, allocations: 425.6 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4637, allocations: 9.688 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.4638, allocations: 15.22 kB / 0.5225 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.464, allocations: 206.5 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4641, allocations: 7.156 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4641, allocations: 10.36 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4643, allocations: 54.95 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4643, allocations: 3.938 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4643, allocations: 0.6562 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4643, allocations: 1.125 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4644, allocations: 21.92 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.4648, allocations: 293.9 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.465, allocations: 55.92 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.4651, allocations: 24.59 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4651, allocations: 1.438 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.4653, allocations: 72.92 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4653, allocations: 1.5 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.4659, allocations: 172.9 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4659, allocations: 57.34 kB / 0.5235 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4662, allocations: 218.8 kB / 0.5237 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4662, allocations: 30.77 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.4663, allocations: 105.6 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.4663, allocations: 26.31 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.4664, allocations: 25.75 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4666, allocations: 332.2 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.4666, allocations: 16.58 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.4667, allocations: 39.19 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4668, allocations: 62.08 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4668, allocations: 0 / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.467, allocations: 105.9 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4671, allocations: 5.75 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4671, allocations: 1.094 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4671, allocations: 1.031 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.4672, allocations: 22.89 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4672, allocations: 2.172 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4673, allocations: 6.344 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.4673, allocations: 2.938 kB / 0.5244 GB, free: 15.5 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.000124/0.4674, allocations: 138.4 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4674, allocations: 18.94 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.4675, allocations: 16.98 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4675, allocations: 2.203 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4675, allocations: 0 / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4675, allocations: 5.953 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.468, allocations: 397.1 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.468, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.4681, allocations: 9.781 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4681, allocations: 5.375 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4681, allocations: 6.031 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.4681, allocations: 1.969 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4681, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4684, allocations: 202 kB / 0.5252 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.4684, allocations: 85.02 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4685, allocations: 15.67 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.4685, allocations: 10.78 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4686, allocations: 5.156 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4686, allocations: 4.047 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.4688, allocations: 174.5 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4688, allocations: 0 / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.4691, allocations: 22.77 kB / 0.5255 GB, free: 14.59 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.001133/0.4702, allocations: 480.1 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4704, allocations: 60.64 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4704, allocations: 0 / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.4705, allocations: 28.52 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.4709, allocations: 31.19 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.4715, allocations: 252.2 kB / 0.5263 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4718, allocations: 0.7147 MB / 0.527 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.4719, allocations: 21.02 kB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.472, allocations: 17 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.472, allocations: 0 / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Templates: time 0.005274/0.4773, allocations: 1.747 MB / 0.5288 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches