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.001409/0.001408, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 79.81 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5001, allocations: 62.42 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.005889/0.5061, allocations: 2.286 MB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.5094, allocations: 1.313 MB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.5099, allocations: 4.125 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.5106, allocations: 136.8 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.5117, allocations: 261.1 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.5124, allocations: 186.1 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007928/0.5132, allocations: 465.5 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.5134, allocations: 67.28 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.5138, allocations: 324.9 kB / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.5141, allocations: 163.8 kB / 0.5361 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.5141, allocations: 17.25 kB / 0.5362 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.5144, allocations: 70.7 kB / 0.5362 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.5145, allocations: 154.6 kB / 0.5364 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5147, allocations: 204.3 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.5154, allocations: 487.7 kB / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5154, allocations: 0 / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5154, allocations: 1.094 kB / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.5154, allocations: 0 / 0.537 GB, free: 9.211 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.001331/0.5167, allocations: 0.8904 MB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5168, allocations: 10.53 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.5169, allocations: 71.69 kB / 0.538 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.5176, allocations: 445.9 kB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.5177, allocations: 11.06 kB / 0.5384 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.5177, allocations: 21.64 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.5181, allocations: 196 kB / 0.5386 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5182, allocations: 6.312 kB / 0.5386 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.5182, allocations: 9.766 kB / 0.5386 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.5182, allocations: 6.938 kB / 0.5386 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.5185, allocations: 90.06 kB / 0.5387 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.5195, allocations: 0.8287 MB / 0.5395 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.5201, allocations: 248.2 kB / 0.5398 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.5203, allocations: 94.2 kB / 0.5399 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.5204, allocations: 6.656 kB / 0.5399 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.5208, allocations: 203.2 kB / 0.5401 GB, free: 6.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.5208, allocations: 0 / 0.5401 GB, free: 6.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002741/0.5235, allocations: 1.171 MB / 0.5412 GB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5237, allocations: 144.8 kB / 0.5413 GB, free: 5.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.5249, allocations: 0.9568 MB / 0.5423 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.5249, allocations: 38.36 kB / 0.5423 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.5252, allocations: 261.7 kB / 0.5426 GB, free: 5.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5253, allocations: 142.9 kB / 0.5427 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.5255, allocations: 79.58 kB / 0.5428 GB, free: 4.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5256, allocations: 321.2 kB / 0.5431 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.5259, allocations: 120.1 kB / 0.5432 GB, free: 4.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.5262, allocations: 183.7 kB / 0.5434 GB, free: 4.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.5268, allocations: 320.9 kB / 0.5437 GB, free: 4.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5268, allocations: 1.062 kB / 0.5437 GB, free: 4.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007965/0.5276, allocations: 448.3 kB / 0.5441 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5276, allocations: 4.875 kB / 0.5441 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5276, allocations: 3 kB / 0.5441 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5277, allocations: 3.688 kB / 0.5441 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.5279, allocations: 89.59 kB / 0.5442 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5279, allocations: 11.92 kB / 0.5442 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.5281, allocations: 19.88 kB / 0.5442 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5281, allocations: 23.92 kB / 0.5443 GB, free: 3.816 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.0002653/0.5284, allocations: 256 kB / 0.5445 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.5285, allocations: 71.06 kB / 0.5446 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5287, allocations: 93.73 kB / 0.5447 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5287, allocations: 4 kB / 0.5447 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5287, allocations: 0 / 0.5447 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5287, allocations: 11.92 kB / 0.5447 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.5304, allocations: 1.334 MB / 0.546 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5304, allocations: 0 / 0.546 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.5306, allocations: 64.16 kB / 0.546 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5306, allocations: 8 kB / 0.546 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.5306, allocations: 15.98 kB / 0.5461 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.5306, allocations: 4 kB / 0.5461 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5306, allocations: 4 kB / 0.5461 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.5315, allocations: 0.8005 MB / 0.5468 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5317, allocations: 184.2 kB / 0.547 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.5318, allocations: 16 kB / 0.547 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5321, allocations: 15.98 kB / 0.5471 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.5321, allocations: 39.83 kB / 0.5471 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.5322, allocations: 20 kB / 0.5471 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007052/0.5329, allocations: 0.706 MB / 0.5478 GB, free: 28 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5329, allocations: 4 kB / 0.5478 GB, free: 24 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.5335, allocations: 95.89 kB / 0.5479 GB, free: 15.93 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.001475/0.5349, allocations: 0.5269 MB / 0.5484 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.5356, allocations: 311.6 kB / 0.5487 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5357, allocations: 256 / 0.5487 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.536, allocations: 167.9 kB / 0.5489 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.537, allocations: 142.5 kB / 0.549 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.539, allocations: 1.188 MB / 0.5502 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.5395, allocations: 0.9172 MB / 0.5511 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.5398, allocations: 87.27 kB / 0.5511 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5399, allocations: 51.42 kB / 0.5512 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5399, allocations: 8 kB / 0.5512 GB, free: 12.65 MB / 414.1 MB Notification: Performance of Templates: time 0.01111/0.551, allocations: 5.642 MB / 0.5567 GB, free: 7.051 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches