Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001353, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 83.88 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4371, allocations: 62.44 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003604/0.4408, allocations: 2.289 MB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.443, allocations: 1.307 MB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4431, allocations: 6.688 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.4436, allocations: 141.4 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.4441, allocations: 261.4 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.4445, allocations: 186.5 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.4451, allocations: 466.7 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.4453, allocations: 62.78 kB / 0.5363 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.4457, allocations: 329.7 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.4459, allocations: 164.7 kB / 0.5368 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.446, allocations: 16.38 kB / 0.5368 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.4461, allocations: 70.86 kB / 0.5369 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4463, allocations: 149.2 kB / 0.537 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.4465, allocations: 205.9 kB / 0.5372 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.4471, allocations: 487.4 kB / 0.5377 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4471, allocations: 0 / 0.5377 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4471, allocations: 1.375 kB / 0.5377 GB, free: 9.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4471, allocations: 0 / 0.5377 GB, free: 9.199 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001197/0.4483, allocations: 0.8871 MB / 0.5386 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4484, allocations: 11.56 kB / 0.5386 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4485, allocations: 71.03 kB / 0.5387 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.4491, allocations: 446.5 kB / 0.5391 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4491, allocations: 14.86 kB / 0.5391 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4492, allocations: 17.19 kB / 0.5391 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.4495, allocations: 192.5 kB / 0.5393 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4496, allocations: 5.656 kB / 0.5393 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.4496, allocations: 9.5 kB / 0.5393 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.4496, allocations: 8.312 kB / 0.5393 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.4499, allocations: 93.42 kB / 0.5394 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.4508, allocations: 0.828 MB / 0.5402 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.4514, allocations: 244.3 kB / 0.5404 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4516, allocations: 97.34 kB / 0.5405 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4517, allocations: 8.422 kB / 0.5405 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.452, allocations: 206.2 kB / 0.5407 GB, free: 6.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.4521, allocations: 1.188 kB / 0.5407 GB, free: 6.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002525/0.4546, allocations: 1.166 MB / 0.5419 GB, free: 5.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.4547, allocations: 138.8 kB / 0.542 GB, free: 5.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4558, allocations: 0.9676 MB / 0.543 GB, free: 5.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4559, allocations: 34.27 kB / 0.543 GB, free: 5.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.4561, allocations: 262.5 kB / 0.5432 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4562, allocations: 141.9 kB / 0.5434 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.4563, allocations: 79.64 kB / 0.5435 GB, free: 4.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4565, allocations: 325.3 kB / 0.5438 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.4567, allocations: 112 kB / 0.5439 GB, free: 4.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.457, allocations: 188.2 kB / 0.544 GB, free: 4.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.4575, allocations: 317.4 kB / 0.5444 GB, free: 4.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4575, allocations: 0 / 0.5444 GB, free: 4.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007498/0.4583, allocations: 451.8 kB / 0.5448 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4583, allocations: 6.344 kB / 0.5448 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4583, allocations: 4.062 kB / 0.5448 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4583, allocations: 4 kB / 0.5448 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.4586, allocations: 83.91 kB / 0.5449 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.4586, allocations: 11.92 kB / 0.5449 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4588, allocations: 31.81 kB / 0.5449 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4588, allocations: 12 kB / 0.5449 GB, free: 3.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002571/0.4591, allocations: 256 kB / 0.5452 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4592, allocations: 79.05 kB / 0.5452 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.4593, allocations: 93.72 kB / 0.5453 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4594, allocations: 4 kB / 0.5453 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.4594, allocations: 0 / 0.5453 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.4594, allocations: 7.938 kB / 0.5453 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.461, allocations: 1.326 MB / 0.5466 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.461, allocations: 4 kB / 0.5466 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4612, allocations: 67.84 kB / 0.5467 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4612, allocations: 8.25 kB / 0.5467 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4612, allocations: 15.98 kB / 0.5467 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4612, allocations: 4 kB / 0.5467 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4612, allocations: 4 kB / 0.5467 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.4621, allocations: 0.7962 MB / 0.5475 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4622, allocations: 180.2 kB / 0.5477 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.4623, allocations: 15.98 kB / 0.5477 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4626, allocations: 19.98 kB / 0.5477 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.4627, allocations: 39.83 kB / 0.5478 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.4627, allocations: 20 kB / 0.5478 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006722/0.4634, allocations: 0.706 MB / 0.5485 GB, free: 4 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4634, allocations: 0 / 0.5485 GB, free: 4 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.4639, allocations: 91.95 kB / 0.5486 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001242/0.4652, allocations: 0.5408 MB / 0.5491 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.4657, allocations: 311.6 kB / 0.5494 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4657, allocations: 256 / 0.5494 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.466, allocations: 163.8 kB / 0.5495 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.4669, allocations: 138 kB / 0.5497 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.4686, allocations: 1.24 MB / 0.5509 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4691, allocations: 0.9133 MB / 0.5518 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4692, allocations: 55.42 kB / 0.5518 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4692, allocations: 3.938 kB / 0.5518 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.009092/0.4783, allocations: 6.837 MB / 0.5585 GB, free: 5.84 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches