Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 117.6 kB / 17.78 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.001048/0.001048, allocations: 204.7 kB / 18.74 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.538/1.538, 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.2364/0.2364, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 75.88 kB / 481.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4673, allocations: 62.43 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003559/0.4709, allocations: 1.749 MB / 0.5328 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4729, allocations: 1.027 MB / 0.5338 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.473, allocations: 1.125 kB / 0.5338 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.4734, allocations: 87.5 kB / 0.5339 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.4737, allocations: 119.3 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.474, allocations: 79.3 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4742, allocations: 118.4 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4743, allocations: 20.17 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.4744, allocations: 49.78 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.4745, allocations: 59.31 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4745, allocations: 4.125 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4746, allocations: 67.78 kB / 0.5344 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.4747, allocations: 28.05 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.4748, allocations: 39.98 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.475, allocations: 139.3 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.475, allocations: 0 / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.475, allocations: 4 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4751, allocations: 1.375 kB / 0.5346 GB, free: 11.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000738/0.4758, allocations: 435.7 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4758, allocations: 13.47 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.4759, allocations: 15.38 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.4764, allocations: 220.9 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4764, allocations: 2.531 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.4764, allocations: 7.406 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.4766, allocations: 67.8 kB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4766, allocations: 0.9375 kB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4766, allocations: 5.25 kB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4767, allocations: 0 / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.4768, allocations: 21.11 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.4774, allocations: 308.7 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4777, allocations: 64.77 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.4777, allocations: 22.62 kB / 0.5357 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4778, allocations: 1 kB / 0.5357 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.4779, allocations: 70.58 kB / 0.5358 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.478, allocations: 0 / 0.5358 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008781/0.4788, allocations: 259.3 kB / 0.536 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4789, allocations: 56.81 kB / 0.5361 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.4792, allocations: 217.9 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4792, allocations: 30.77 kB / 0.5363 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.4793, allocations: 105.8 kB / 0.5364 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.4794, allocations: 37.27 kB / 0.5365 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.4794, allocations: 30.58 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4796, allocations: 326.4 kB / 0.5368 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.4797, allocations: 31.17 kB / 0.5368 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.4798, allocations: 44.55 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.48, allocations: 80.11 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.48, allocations: 1.25 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002896/0.4803, allocations: 129.9 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4803, allocations: 4.656 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4803, allocations: 5.25 kB / 0.5371 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4804, allocations: 1 kB / 0.5371 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.4805, allocations: 20.69 kB / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4805, allocations: 5.031 kB / 0.5371 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.4805, allocations: 6.141 kB / 0.5371 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4805, allocations: 12.03 kB / 0.5371 GB, free: 8.848 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 (13): * Single equations (assignments): 13 * 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.0001381/0.4807, allocations: 133.5 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.4807, allocations: 14.56 kB / 0.5373 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.4808, allocations: 16.12 kB / 0.5373 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4808, allocations: 5.219 kB / 0.5373 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4808, allocations: 5.156 kB / 0.5373 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4808, allocations: 0 / 0.5373 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.4816, allocations: 453.6 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4816, allocations: 1.031 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.4817, allocations: 19.73 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4817, allocations: 1.344 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4817, allocations: 6.969 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4817, allocations: 1.438 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4817, allocations: 0 / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4821, allocations: 239 kB / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.4822, allocations: 92.92 kB / 0.5381 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.4822, allocations: 1.656 kB / 0.5381 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.4823, allocations: 10.34 kB / 0.5381 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4823, allocations: 12.48 kB / 0.5381 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4824, allocations: 5.156 kB / 0.5381 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4825, allocations: 168.2 kB / 0.5383 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4825, allocations: 0 / 0.5383 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.4828, allocations: 29.66 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001355/0.4842, allocations: 0.5013 MB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4844, allocations: 85.94 kB / 0.5389 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4844, allocations: 0 / 0.5389 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.4845, allocations: 39.55 kB / 0.5389 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.4849, allocations: 38.05 kB / 0.5389 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.4854, allocations: 282.5 kB / 0.5392 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4859, allocations: 0.7147 MB / 0.5399 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.4859, allocations: 20.62 kB / 0.5399 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.486, allocations: 21.27 kB / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.486, allocations: 0 / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.005642/0.4916, allocations: 2.006 MB / 0.5419 GB, free: 5.512 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches