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.001417/0.001418, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.06 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4023, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004578/0.4069, allocations: 2.294 MB / 0.534 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.4099, allocations: 1.309 MB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.4102, allocations: 7.719 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.4107, allocations: 121 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.4115, allocations: 244.4 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.4121, allocations: 191.2 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008521/0.413, allocations: 455 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.4132, allocations: 66.97 kB / 0.5363 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.4138, allocations: 296.2 kB / 0.5366 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.4141, allocations: 159.9 kB / 0.5367 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.4141, allocations: 16.53 kB / 0.5368 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.4144, allocations: 71.05 kB / 0.5368 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.4146, allocations: 130.8 kB / 0.5369 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.4148, allocations: 186.4 kB / 0.5371 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.4155, allocations: 446.3 kB / 0.5375 GB, free: 9.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4156, allocations: 4 kB / 0.5376 GB, free: 9.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4156, allocations: 0 / 0.5376 GB, free: 9.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.4156, allocations: 1.219 kB / 0.5376 GB, free: 9.312 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.001424/0.417, allocations: 0.8259 MB / 0.5384 GB, free: 8.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4171, allocations: 10.66 kB / 0.5384 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.4173, allocations: 60.09 kB / 0.5384 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.418, allocations: 418.9 kB / 0.5388 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.418, allocations: 10.56 kB / 0.5388 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4181, allocations: 21.78 kB / 0.5389 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.4185, allocations: 189.4 kB / 0.539 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4186, allocations: 5.625 kB / 0.539 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.4186, allocations: 5.406 kB / 0.539 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4186, allocations: 6.891 kB / 0.5391 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.4189, allocations: 97.42 kB / 0.5391 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.42, allocations: 0.797 MB / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.4207, allocations: 244.6 kB / 0.5402 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4209, allocations: 97.61 kB / 0.5403 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.421, allocations: 8.281 kB / 0.5403 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.4214, allocations: 206.3 kB / 0.5405 GB, free: 6.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/0.4214, allocations: 5.156 kB / 0.5405 GB, free: 6.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002922/0.4243, allocations: 1.113 MB / 0.5415 GB, free: 6.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.4244, allocations: 138.2 kB / 0.5417 GB, free: 6.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.4256, allocations: 0.7953 MB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.4257, allocations: 37.98 kB / 0.5425 GB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4259, allocations: 241.5 kB / 0.5427 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.4261, allocations: 142.9 kB / 0.5429 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4262, allocations: 78.12 kB / 0.5429 GB, free: 5.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.4264, allocations: 376.3 kB / 0.5433 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.4267, allocations: 116.3 kB / 0.5434 GB, free: 4.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.427, allocations: 179.7 kB / 0.5436 GB, free: 4.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.4276, allocations: 321.4 kB / 0.5439 GB, free: 4.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4276, allocations: 0 / 0.5439 GB, free: 4.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008736/0.4285, allocations: 437.3 kB / 0.5443 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4285, allocations: 10.09 kB / 0.5443 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4285, allocations: 6.844 kB / 0.5443 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.4286, allocations: 3.219 kB / 0.5443 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.4289, allocations: 92.3 kB / 0.5444 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4289, allocations: 8.469 kB / 0.5444 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.4291, allocations: 20 kB / 0.5444 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.4292, allocations: 20.64 kB / 0.5445 GB, free: 4.184 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.0003382/0.4295, allocations: 230.4 kB / 0.5447 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4297, allocations: 65.72 kB / 0.5447 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.4298, allocations: 76.92 kB / 0.5448 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4299, allocations: 5.438 kB / 0.5448 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.4299, allocations: 1.094 kB / 0.5448 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4299, allocations: 9.078 kB / 0.5448 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.4317, allocations: 1.308 MB / 0.5461 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.4317, allocations: 7.984 kB / 0.5461 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.4319, allocations: 63.86 kB / 0.5462 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.4319, allocations: 4.25 kB / 0.5462 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.432, allocations: 19.98 kB / 0.5462 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.432, allocations: 4 kB / 0.5462 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.432, allocations: 7.938 kB / 0.5462 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.4329, allocations: 0.7927 MB / 0.547 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4331, allocations: 168.3 kB / 0.5471 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.4332, allocations: 20 kB / 0.5472 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.4335, allocations: 15.98 kB / 0.5472 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.4336, allocations: 43.83 kB / 0.5472 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.4336, allocations: 20 kB / 0.5472 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007012/0.4343, allocations: 0.5849 MB / 0.5478 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4343, allocations: 0 / 0.5478 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.4349, allocations: 95.89 kB / 0.5479 GB, free: 0.6719 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.001318/0.4362, allocations: 0.5208 MB / 0.5484 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.4369, allocations: 319.5 kB / 0.5487 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4369, allocations: 4 kB / 0.5487 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.4373, allocations: 163.9 kB / 0.5489 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.4382, allocations: 130.4 kB / 0.549 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4401, allocations: 1.104 MB / 0.5501 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.4407, allocations: 0.8821 MB / 0.5509 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.4409, allocations: 59.42 kB / 0.551 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4409, allocations: 0 / 0.551 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Templates: time 0.01135/0.4522, allocations: 6.508 MB / 0.5573 GB, free: 7.121 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches