Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002035/0.002035, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002482/0.002482, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.88 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5036, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004217/0.5079, allocations: 2.293 MB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.5107, allocations: 1.31 MB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.5109, allocations: 2.75 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.5116, allocations: 129.9 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.5123, allocations: 239.5 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.5131, allocations: 194.4 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008166/0.5139, allocations: 457.7 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.5142, allocations: 67.88 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.5147, allocations: 263.3 kB / 0.5359 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.5149, allocations: 157.8 kB / 0.536 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.515, allocations: 16.75 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.5153, allocations: 70.83 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.5155, allocations: 130.9 kB / 0.5363 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.5158, allocations: 189.9 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.5166, allocations: 444.7 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5166, allocations: 4 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5166, allocations: 0 / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.5166, allocations: 0.9062 kB / 0.5369 GB, free: 9.301 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.002043/0.5187, allocations: 0.8388 MB / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.5188, allocations: 14.88 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.5189, allocations: 63.8 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.5197, allocations: 425 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.5198, allocations: 9.781 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.5199, allocations: 22.7 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.5205, allocations: 196.4 kB / 0.5384 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5205, allocations: 4.734 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.5205, allocations: 6.25 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5206, allocations: 3.531 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.5209, allocations: 93.42 kB / 0.5385 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.5222, allocations: 0.8016 MB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.5231, allocations: 244.4 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.5233, allocations: 94.08 kB / 0.5396 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.5234, allocations: 2.906 kB / 0.5396 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.5238, allocations: 215.5 kB / 0.5398 GB, free: 6.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.5238, allocations: 0 / 0.5398 GB, free: 6.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.003319/0.5272, allocations: 1.148 MB / 0.5409 GB, free: 6.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.5273, allocations: 137.8 kB / 0.5411 GB, free: 5.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5287, allocations: 0.8004 MB / 0.5418 GB, free: 5.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.5287, allocations: 38.3 kB / 0.5419 GB, free: 5.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.529, allocations: 237.1 kB / 0.5421 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.5292, allocations: 146.5 kB / 0.5422 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.5294, allocations: 82.67 kB / 0.5423 GB, free: 5.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.5296, allocations: 376.5 kB / 0.5427 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.53, allocations: 112.3 kB / 0.5428 GB, free: 4.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.5304, allocations: 179.6 kB / 0.543 GB, free: 4.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.5311, allocations: 320.8 kB / 0.5433 GB, free: 4.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5311, allocations: 1.75 kB / 0.5433 GB, free: 4.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001056/0.5321, allocations: 439.8 kB / 0.5437 GB, free: 4.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5322, allocations: 7.031 kB / 0.5437 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5322, allocations: 5.281 kB / 0.5437 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5322, allocations: 3.625 kB / 0.5437 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.5326, allocations: 89.11 kB / 0.5438 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.5326, allocations: 7.25 kB / 0.5438 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.5329, allocations: 29.23 kB / 0.5438 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.5329, allocations: 20.53 kB / 0.5438 GB, free: 4.105 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.0003332/0.5333, allocations: 225.9 kB / 0.5441 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5335, allocations: 69.56 kB / 0.5441 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.5336, allocations: 79.92 kB / 0.5442 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5337, allocations: 5.812 kB / 0.5442 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.5337, allocations: 5.141 kB / 0.5442 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5337, allocations: 5.062 kB / 0.5442 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.536, allocations: 1.315 MB / 0.5455 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.536, allocations: 4 kB / 0.5455 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.5362, allocations: 59.92 kB / 0.5456 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5362, allocations: 4 kB / 0.5456 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.5363, allocations: 15.98 kB / 0.5456 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.5363, allocations: 4 kB / 0.5456 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.5363, allocations: 4.375 kB / 0.5456 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5376, allocations: 0.8045 MB / 0.5464 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.5379, allocations: 176.6 kB / 0.5465 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.538, allocations: 16 kB / 0.5466 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5385, allocations: 15.98 kB / 0.5466 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.5386, allocations: 43.83 kB / 0.5466 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.5386, allocations: 20 kB / 0.5466 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008494/0.5395, allocations: 0.5849 MB / 0.5472 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5395, allocations: 0 / 0.5472 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008103/0.5403, allocations: 91.92 kB / 0.5473 GB, free: 0.582 MB / 398.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.00171/0.5421, allocations: 0.5185 MB / 0.5478 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.543, allocations: 327.6 kB / 0.5481 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.543, allocations: 3.938 kB / 0.5481 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.5434, allocations: 155.8 kB / 0.5483 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5448, allocations: 128.8 kB / 0.5484 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5471, allocations: 1.07 MB / 0.5494 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.5478, allocations: 0.886 MB / 0.5503 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.5481, allocations: 87.27 kB / 0.5504 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.5483, allocations: 51.42 kB / 0.5504 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 5.2e-07/0.5483, allocations: 0 / 0.5504 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01538/0.5637, allocations: 5.443 MB / 0.5557 GB, free: 8.07 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches