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.001051/0.001051, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.81 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4524, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004041/0.4565, allocations: 2.282 MB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.4589, allocations: 1.309 MB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.4591, allocations: 8.062 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.4596, allocations: 124.6 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.4602, allocations: 240.9 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.4606, allocations: 195.5 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.4612, allocations: 459.2 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.4614, allocations: 62.86 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.4618, allocations: 291.3 kB / 0.5359 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.462, allocations: 163.8 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.4621, allocations: 17.78 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.4622, allocations: 74.81 kB / 0.5362 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4624, allocations: 126 kB / 0.5363 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.4626, allocations: 194.5 kB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.4631, allocations: 437.7 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4631, allocations: 1.344 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4631, allocations: 0 / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4631, allocations: 0 / 0.5369 GB, free: 9.289 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.001079/0.4642, allocations: 0.8243 MB / 0.5377 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4643, allocations: 10.72 kB / 0.5377 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.4644, allocations: 59.78 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.465, allocations: 411.7 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.465, allocations: 14.17 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.4651, allocations: 22.22 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.4654, allocations: 204.5 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4655, allocations: 1.188 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4655, allocations: 6.344 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.4655, allocations: 3.312 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.4658, allocations: 93.52 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.467, allocations: 0.7971 MB / 0.5393 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.4677, allocations: 248.8 kB / 0.5395 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.468, allocations: 89.48 kB / 0.5396 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.468, allocations: 7.297 kB / 0.5396 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.4685, allocations: 207.8 kB / 0.5398 GB, free: 6.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.4685, allocations: 4 kB / 0.5398 GB, free: 6.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002751/0.4713, allocations: 1.121 MB / 0.5409 GB, free: 6.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4714, allocations: 137.2 kB / 0.541 GB, free: 5.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.4724, allocations: 0.7968 MB / 0.5418 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4724, allocations: 37.3 kB / 0.5418 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4726, allocations: 246 kB / 0.5421 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4727, allocations: 137.8 kB / 0.5422 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4728, allocations: 79.09 kB / 0.5423 GB, free: 5.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.473, allocations: 376 kB / 0.5426 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4733, allocations: 112 kB / 0.5427 GB, free: 4.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.4736, allocations: 183.3 kB / 0.5429 GB, free: 4.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.4741, allocations: 325.6 kB / 0.5432 GB, free: 4.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4741, allocations: 0 / 0.5432 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008171/0.4749, allocations: 429.6 kB / 0.5436 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.475, allocations: 5.562 kB / 0.5436 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.475, allocations: 2.062 kB / 0.5436 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.475, allocations: 16.67 kB / 0.5437 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.4753, allocations: 83.88 kB / 0.5437 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4753, allocations: 4.5 kB / 0.5437 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4755, allocations: 24.02 kB / 0.5438 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4755, allocations: 17.22 kB / 0.5438 GB, free: 4.168 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.0002948/0.4758, allocations: 233.6 kB / 0.544 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.476, allocations: 65.69 kB / 0.5441 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.4761, allocations: 84 kB / 0.5441 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.4762, allocations: 9 kB / 0.5442 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.4762, allocations: 5.703 kB / 0.5442 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4762, allocations: 9.391 kB / 0.5442 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4779, allocations: 1.304 MB / 0.5454 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.478, allocations: 4 kB / 0.5454 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4781, allocations: 55.91 kB / 0.5455 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.4781, allocations: 8 kB / 0.5455 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.4782, allocations: 15.98 kB / 0.5455 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4782, allocations: 8.188 kB / 0.5455 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4782, allocations: 11.94 kB / 0.5455 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.4791, allocations: 0.7888 MB / 0.5463 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.4793, allocations: 168.3 kB / 0.5465 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.4793, allocations: 19.98 kB / 0.5465 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.4796, allocations: 19.98 kB / 0.5465 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.4797, allocations: 43.84 kB / 0.5466 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.4798, allocations: 19.98 kB / 0.5466 GB, free: 1.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.4805, allocations: 0.5849 MB / 0.5471 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4805, allocations: 0 / 0.5471 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000526/0.481, allocations: 91.91 kB / 0.5472 GB, free: 0.6367 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.001499/0.4825, allocations: 0.5301 MB / 0.5477 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4832, allocations: 315.6 kB / 0.5481 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4832, allocations: 0 / 0.5481 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.4836, allocations: 168.4 kB / 0.5482 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.4846, allocations: 130.5 kB / 0.5483 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4864, allocations: 1.051 MB / 0.5494 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.4869, allocations: 0.8899 MB / 0.5502 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.4871, allocations: 79.28 kB / 0.5503 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4873, allocations: 55.41 kB / 0.5504 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4873, allocations: 0 / 0.5504 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Templates: time 0.01211/0.4994, allocations: 5.454 MB / 0.5557 GB, free: 8.133 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