Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4646, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004722/0.4694, allocations: 1.739 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.4728, allocations: 1.624 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.4729, allocations: 1.375 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.4734, allocations: 36.19 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.4738, allocations: 104.1 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.4741, allocations: 79.09 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.4743, allocations: 107.2 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4745, allocations: 10.44 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4746, allocations: 49.91 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4748, allocations: 46.08 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.4748, allocations: 9.531 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.4751, allocations: 114.7 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.4751, allocations: 16.56 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.4752, allocations: 35.69 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.4755, allocations: 167.9 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4756, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4756, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4756, allocations: 0 / 0.5351 GB, free: 10.49 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.0007623/0.4763, allocations: 436.4 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4764, allocations: 9.625 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.4765, allocations: 8.969 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4768, allocations: 212.5 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4768, allocations: 5.312 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.4769, allocations: 9.359 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.477, allocations: 66.52 kB / 0.5358 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4771, allocations: 4 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4771, allocations: 1.375 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4771, allocations: 3.938 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.4772, allocations: 18.98 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4777, allocations: 285.5 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.4779, allocations: 53.22 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.478, allocations: 29.94 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.478, allocations: 1.281 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.4782, allocations: 65.89 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4782, allocations: 0 / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006481/0.4788, allocations: 177.2 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.4789, allocations: 81.98 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.4792, allocations: 168.7 kB / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4792, allocations: 27.98 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.4793, allocations: 103.4 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4793, allocations: 20.22 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.4794, allocations: 24.14 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4795, allocations: 326.2 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.4796, allocations: 14.81 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.4797, allocations: 45.47 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4798, allocations: 63.42 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4798, allocations: 0.5625 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.48, allocations: 102.5 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4801, allocations: 11.56 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4801, allocations: 1.125 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4801, allocations: 1 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4802, allocations: 25.69 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4802, allocations: 3.938 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.4803, allocations: 7.109 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.4803, allocations: 2 kB / 0.5374 GB, free: 8.281 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.0001268/0.4804, allocations: 117.2 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4805, allocations: 16.72 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.4805, allocations: 16.02 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4805, allocations: 5 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4806, allocations: 8.594 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4806, allocations: 1 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.4812, allocations: 387.8 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4812, allocations: 5.156 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.4812, allocations: 11.72 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4813, allocations: 0 / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4813, allocations: 2.188 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4813, allocations: 1.281 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4813, allocations: 3.984 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4816, allocations: 200.5 kB / 0.5381 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.4816, allocations: 88.23 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4817, allocations: 5.094 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.4818, allocations: 6.719 kB / 0.5382 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.4818, allocations: 11.2 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4818, allocations: 7.875 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4819, allocations: 126.8 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4819, allocations: 0 / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.4823, allocations: 46.33 kB / 0.5384 GB, free: 7.332 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.001432/0.4837, allocations: 0.5423 MB / 0.539 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4839, allocations: 62.84 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4839, allocations: 0 / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.484, allocations: 25.73 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4844, allocations: 38.72 kB / 0.5391 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.4849, allocations: 201.8 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4852, allocations: 0.7023 MB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.4853, allocations: 15.34 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.4854, allocations: 21.77 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4854, allocations: 0 / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.006321/0.4917, allocations: 2.363 MB / 0.5423 GB, free: 4.875 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches