Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 79.81 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4571, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.005275/0.4625, allocations: 1.73 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.4648, allocations: 1.029 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.4649, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.4654, allocations: 53.64 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.4659, allocations: 93.84 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.4661, allocations: 84.28 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.4664, allocations: 100.5 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4666, allocations: 14.34 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.4667, allocations: 51.89 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.4668, allocations: 29.89 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.4669, allocations: 4.375 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.467, allocations: 39.48 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4671, allocations: 26.97 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.4672, allocations: 44.73 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.4676, allocations: 141.6 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4676, allocations: 5.219 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4676, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.4676, allocations: 0 / 0.5344 GB, free: 11.03 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.0007952/0.4684, allocations: 451 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.4685, allocations: 9.969 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.4686, allocations: 15.88 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.4689, allocations: 220 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.469, allocations: 1.562 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.469, allocations: 6.375 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.4692, allocations: 54.45 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4692, allocations: 3.938 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.4692, allocations: 8.953 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4693, allocations: 4 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.4694, allocations: 19.02 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.4699, allocations: 299.6 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4701, allocations: 62.31 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.4701, allocations: 29.81 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4702, allocations: 1.156 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4703, allocations: 68.61 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4704, allocations: 3.938 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006668/0.471, allocations: 185.4 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4711, allocations: 56.59 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.4714, allocations: 270.8 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.4715, allocations: 30.73 kB / 0.5362 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.4715, allocations: 112.2 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.4716, allocations: 27.78 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.4716, allocations: 20.19 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4718, allocations: 331.7 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.4718, allocations: 23.02 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.4719, allocations: 36.11 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.4721, allocations: 63.02 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4721, allocations: 0 / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002181/0.4723, allocations: 112.4 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4723, allocations: 5.469 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4723, allocations: 1.25 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4724, allocations: 0.9375 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.4725, allocations: 17.2 kB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4725, allocations: 4.906 kB / 0.5369 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.4725, allocations: 6.219 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.4726, allocations: 3.156 kB / 0.5369 GB, free: 8.77 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.0001337/0.4727, allocations: 133 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.4727, allocations: 15.28 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.4728, allocations: 29.05 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4728, allocations: 1.062 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4728, allocations: 0 / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4728, allocations: 5.094 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.4734, allocations: 412.2 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4734, allocations: 0 / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.4734, allocations: 11.52 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4734, allocations: 1.344 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4734, allocations: 6.125 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4734, allocations: 0 / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4735, allocations: 1.406 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.4737, allocations: 206.3 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.4738, allocations: 89.33 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4738, allocations: 5.312 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.4739, allocations: 10.2 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.4739, allocations: 15.81 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.474, allocations: 3.25 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.4742, allocations: 202.5 kB / 0.538 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4742, allocations: 4 kB / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.4745, allocations: 26.47 kB / 0.538 GB, free: 7.77 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.001215/0.4757, allocations: 463.4 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4759, allocations: 57.48 kB / 0.5385 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4759, allocations: 0.875 kB / 0.5385 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.476, allocations: 29.92 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4764, allocations: 29.19 kB / 0.5386 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.477, allocations: 292.4 kB / 0.5388 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4774, allocations: 0.7286 MB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.4774, allocations: 9.922 kB / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.4775, allocations: 20.8 kB / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4775, allocations: 0 / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.005365/0.4829, allocations: 1.771 MB / 0.5413 GB, free: 5.645 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches