Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 199.8 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 83.88 kB / 481.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4681, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003152/0.4713, allocations: 1.731 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.4741, allocations: 1.617 MB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.4742, allocations: 0.9375 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.4746, allocations: 48.39 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.475, allocations: 99.84 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.4754, allocations: 79.62 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.4756, allocations: 98.98 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4758, allocations: 13.72 kB / 0.5347 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.4759, allocations: 50.66 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.4761, allocations: 46.59 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.4761, allocations: 5.125 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.4764, allocations: 118.5 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.4765, allocations: 16.48 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.4765, allocations: 35.8 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.4769, allocations: 171.7 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.477, allocations: 0 / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.477, allocations: 0 / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.477, allocations: 0 / 0.5351 GB, free: 10.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007348/0.4777, allocations: 429.4 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4778, allocations: 8.25 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.4779, allocations: 14.34 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.4782, allocations: 207.8 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4783, allocations: 9.297 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.4783, allocations: 2.75 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4785, allocations: 73.08 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4785, allocations: 9.359 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4785, allocations: 0 / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4786, allocations: 1.375 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/0.4786, allocations: 21.61 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.4791, allocations: 281.5 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4793, allocations: 61.73 kB / 0.5362 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.4793, allocations: 21.66 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4794, allocations: 5.344 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.4795, allocations: 65.89 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4795, allocations: 0 / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006149/0.4802, allocations: 176.5 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.4802, allocations: 87.17 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.4804, allocations: 165.3 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4805, allocations: 27.02 kB / 0.5367 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.4805, allocations: 103.5 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4806, allocations: 23.02 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.4806, allocations: 21.47 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4807, allocations: 321 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.4808, allocations: 22.98 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.4809, allocations: 45.66 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4811, allocations: 63.83 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4811, allocations: 0 / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.4813, allocations: 99.38 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4813, allocations: 4.781 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4813, allocations: 1.094 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4813, allocations: 0.9688 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.4814, allocations: 17.3 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4815, allocations: 5.031 kB / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.4815, allocations: 10.62 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4815, allocations: 2.281 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001111/0.4817, allocations: 124.5 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.4817, allocations: 12.88 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.4817, allocations: 11.94 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4818, allocations: 1.031 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4818, allocations: 5.188 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4818, allocations: 0 / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.4823, allocations: 400.5 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4823, allocations: 5.109 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.4823, allocations: 14.88 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4823, allocations: 1.188 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4823, allocations: 2.062 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4823, allocations: 1.094 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4824, allocations: 0 / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.4826, allocations: 208.8 kB / 0.5382 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.4827, allocations: 95.12 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4827, allocations: 2.531 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.4828, allocations: 2.469 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4828, allocations: 11.45 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.4829, allocations: 3.219 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.483, allocations: 127 kB / 0.5384 GB, free: 7.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.483, allocations: 0 / 0.5384 GB, free: 7.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.4834, allocations: 50.64 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001351/0.4847, allocations: 0.5394 MB / 0.539 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.4849, allocations: 54.42 kB / 0.539 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.485, allocations: 4.062 kB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4851, allocations: 33.58 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4854, allocations: 41.81 kB / 0.5391 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.4859, allocations: 186.4 kB / 0.5393 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4862, allocations: 0.7061 MB / 0.54 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.025e-05/0.4863, allocations: 28.16 kB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.4864, allocations: 20.52 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4864, allocations: 0 / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.006104/0.4925, allocations: 2.357 MB / 0.5423 GB, free: 4.891 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches