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.001226/0.001226, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2534/0.2534, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 79.88 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4882, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003806/0.492, allocations: 2.28 MB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.4945, allocations: 1.311 MB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.4947, allocations: 8 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.4951, allocations: 121.2 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.4957, allocations: 247.4 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.4962, allocations: 187.1 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.4968, allocations: 462.4 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.497, allocations: 58.34 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.4973, allocations: 272 kB / 0.5359 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.4975, allocations: 153.7 kB / 0.536 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.4976, allocations: 16.25 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4978, allocations: 75.52 kB / 0.5361 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4979, allocations: 126.3 kB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4981, allocations: 191.1 kB / 0.5364 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005609/0.4987, allocations: 447.8 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4987, allocations: 0 / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4987, allocations: 0 / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.4987, allocations: 1.094 kB / 0.5369 GB, free: 9.32 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.001123/0.4998, allocations: 0.8454 MB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4999, allocations: 10.88 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.5, allocations: 68.83 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.5006, allocations: 423.7 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.5007, allocations: 9.344 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.5007, allocations: 22.89 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.5011, allocations: 199.9 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5011, allocations: 1.75 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.5012, allocations: 5.469 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5012, allocations: 3.875 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.5014, allocations: 92.86 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/0.5023, allocations: 0.8011 MB / 0.5393 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.503, allocations: 249.1 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.5032, allocations: 85.73 kB / 0.5396 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.5032, allocations: 12.34 kB / 0.5396 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.5036, allocations: 210 kB / 0.5398 GB, free: 6.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.5036, allocations: 0 / 0.5398 GB, free: 6.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002657/0.5063, allocations: 1.152 MB / 0.5409 GB, free: 6.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.5064, allocations: 133.3 kB / 0.5411 GB, free: 5.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.5074, allocations: 0.7924 MB / 0.5418 GB, free: 5.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.5074, allocations: 45.56 kB / 0.5419 GB, free: 5.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5077, allocations: 240.9 kB / 0.5421 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.5079, allocations: 143.5 kB / 0.5422 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.508, allocations: 83.11 kB / 0.5423 GB, free: 5.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5082, allocations: 377.1 kB / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.5085, allocations: 107.6 kB / 0.5428 GB, free: 4.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.5088, allocations: 186.9 kB / 0.543 GB, free: 4.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.5093, allocations: 324.6 kB / 0.5433 GB, free: 4.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5094, allocations: 1.312 kB / 0.5433 GB, free: 4.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009981/0.5104, allocations: 433.4 kB / 0.5437 GB, free: 4.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.5104, allocations: 9.25 kB / 0.5437 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5104, allocations: 1.062 kB / 0.5437 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.5105, allocations: 4.344 kB / 0.5437 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.5108, allocations: 92.84 kB / 0.5438 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.5108, allocations: 6.891 kB / 0.5438 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.511, allocations: 21.12 kB / 0.5438 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.511, allocations: 17.39 kB / 0.5438 GB, free: 4.133 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.0004248/0.5115, allocations: 233.3 kB / 0.544 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5116, allocations: 69.84 kB / 0.5441 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.5118, allocations: 76.36 kB / 0.5442 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5118, allocations: 5.219 kB / 0.5442 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.5118, allocations: 5.031 kB / 0.5442 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5118, allocations: 13.16 kB / 0.5442 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.5138, allocations: 1.317 MB / 0.5455 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5139, allocations: 0 / 0.5455 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.514, allocations: 59.92 kB / 0.5456 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.5141, allocations: 4 kB / 0.5456 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.5141, allocations: 19.98 kB / 0.5456 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.5141, allocations: 7.938 kB / 0.5456 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5141, allocations: 7.938 kB / 0.5456 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.5151, allocations: 0.793 MB / 0.5464 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.5153, allocations: 172.6 kB / 0.5465 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.5154, allocations: 19.98 kB / 0.5465 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.5157, allocations: 15.98 kB / 0.5466 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.5158, allocations: 48.2 kB / 0.5466 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5159, allocations: 20 kB / 0.5466 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007123/0.5166, allocations: 0.581 MB / 0.5472 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5166, allocations: 4 kB / 0.5472 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005908/0.5172, allocations: 83.88 kB / 0.5473 GB, free: 0.5977 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.001497/0.5187, allocations: 0.5319 MB / 0.5478 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.5195, allocations: 319.6 kB / 0.5481 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5195, allocations: 0 / 0.5481 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.5199, allocations: 165 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.001011/0.5209, allocations: 134.1 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.001911/0.5228, allocations: 1.069 MB / 0.5494 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.5234, allocations: 0.8821 MB / 0.5503 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.5237, allocations: 79.28 kB / 0.5504 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5238, allocations: 59.41 kB / 0.5504 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5238, allocations: 0 / 0.5504 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01173/0.5356, allocations: 5.442 MB / 0.5557 GB, free: 8.082 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