Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 206 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.517/1.517, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2645/0.2645, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 71.89 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5631, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004315/0.5675, allocations: 1.722 MB / 0.5328 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.5695, allocations: 1.026 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5696, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.5701, allocations: 57.62 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.5704, allocations: 95.22 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.5707, allocations: 82.91 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.5709, allocations: 96.95 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.571, allocations: 18.8 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.5711, allocations: 42.91 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.5712, allocations: 38.78 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.5713, allocations: 4.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.5714, allocations: 35.5 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.5715, allocations: 30.89 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.5716, allocations: 45.3 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.5718, allocations: 141.4 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5719, allocations: 3.938 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5719, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.5719, allocations: 0 / 0.5344 GB, free: 11.04 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.0007105/0.5726, allocations: 455.6 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5727, allocations: 10.31 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.5727, allocations: 15.19 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.5731, allocations: 220 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5731, allocations: 2.75 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5731, allocations: 5.281 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.5733, allocations: 54.92 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5733, allocations: 3.938 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5733, allocations: 3.938 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5733, allocations: 5 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.5734, allocations: 18.33 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.5739, allocations: 308.1 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.5741, allocations: 54.44 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.5742, allocations: 29 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.5742, allocations: 1 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.5744, allocations: 69.52 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5744, allocations: 0 / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006817/0.5751, allocations: 185.3 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.5752, allocations: 52.56 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.5756, allocations: 271 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5756, allocations: 34.92 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.5757, allocations: 112.1 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.5758, allocations: 27.22 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5758, allocations: 20.5 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.576, allocations: 336.1 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.5761, allocations: 19 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.5761, allocations: 35.64 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.5763, allocations: 62.36 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5763, allocations: 0 / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002454/0.5765, allocations: 117.2 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5766, allocations: 7.594 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5766, allocations: 1 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5766, allocations: 1.719 kB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5767, allocations: 12.62 kB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5767, allocations: 0.75 kB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.5768, allocations: 14.8 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5768, allocations: 2.438 kB / 0.5369 GB, free: 8.781 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.0001379/0.577, allocations: 133.1 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.577, allocations: 14.66 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.5771, allocations: 25.91 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.5771, allocations: 5.422 kB / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5771, allocations: 0 / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5771, allocations: 3.938 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.5777, allocations: 408.1 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5777, allocations: 1.344 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.5777, allocations: 11.31 kB / 0.5375 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5777, allocations: 1 kB / 0.5375 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5777, allocations: 6.562 kB / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5778, allocations: 384 / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5778, allocations: 5.125 kB / 0.5375 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.578, allocations: 210.2 kB / 0.5377 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.5781, allocations: 93.41 kB / 0.5378 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.5781, allocations: 9.438 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.5782, allocations: 1.438 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.5782, allocations: 11.83 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5783, allocations: 6.688 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.5785, allocations: 199.2 kB / 0.538 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5785, allocations: 4 kB / 0.538 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.5788, allocations: 29.73 kB / 0.538 GB, free: 7.777 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.001219/0.58, allocations: 456.2 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5803, allocations: 66.81 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5803, allocations: 0 / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/0.5804, allocations: 25.91 kB / 0.5385 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5808, allocations: 30.48 kB / 0.5386 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.5814, allocations: 296.9 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5817, allocations: 0.7207 MB / 0.5395 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.5818, allocations: 14.41 kB / 0.5396 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.5818, allocations: 15.59 kB / 0.5396 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5819, allocations: 0 / 0.5396 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.005191/0.5871, allocations: 1.777 MB / 0.5413 GB, free: 5.652 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches