Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 114.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 72.11 kB / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3604, allocations: 62.44 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003467/0.3639, allocations: 1.748 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3659, allocations: 1.023 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.3661, allocations: 1.625 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.3665, allocations: 106.2 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.3669, allocations: 136.8 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.3672, allocations: 74.94 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3674, allocations: 128.1 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3675, allocations: 16.25 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3677, allocations: 65.81 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3678, allocations: 68.8 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3678, allocations: 5.5 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.368, allocations: 58.48 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.3681, allocations: 40.16 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3681, allocations: 49.28 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3684, allocations: 151.7 kB / 0.5353 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3684, allocations: 4 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3684, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3684, allocations: 1.375 kB / 0.5353 GB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005989/0.369, allocations: 456 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3691, allocations: 8.969 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3691, allocations: 19.19 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3695, allocations: 229.2 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3695, allocations: 6.516 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3695, allocations: 15.25 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3697, allocations: 60.11 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3697, allocations: 0 / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3697, allocations: 5.094 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3697, allocations: 1.156 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.3698, allocations: 32.84 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3703, allocations: 319.2 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.3705, allocations: 76.55 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.3706, allocations: 28.88 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3707, allocations: 1.375 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3708, allocations: 77.31 kB / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.3708, allocations: 0 / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008242/0.3717, allocations: 276.5 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3717, allocations: 52.5 kB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.372, allocations: 258.8 kB / 0.5372 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.372, allocations: 30.92 kB / 0.5372 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.3721, allocations: 112.1 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.3721, allocations: 37.64 kB / 0.5373 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.3722, allocations: 27.25 kB / 0.5374 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3723, allocations: 335 kB / 0.5377 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.3724, allocations: 36.98 kB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.3725, allocations: 50.73 kB / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3727, allocations: 89.97 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3727, allocations: 0 / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002507/0.3729, allocations: 143.4 kB / 0.538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3729, allocations: 4.125 kB / 0.538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.373, allocations: 9.578 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.373, allocations: 1.375 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.3731, allocations: 23.14 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3731, allocations: 9.109 kB / 0.538 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.3731, allocations: 1.125 kB / 0.538 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3732, allocations: 8.625 kB / 0.5381 GB, free: 8.527 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 (14): * Single equations (assignments): 14 * 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.0001115/0.3733, allocations: 140.8 kB / 0.5382 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3733, allocations: 23.62 kB / 0.5382 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.3734, allocations: 26.19 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3734, allocations: 3.984 kB / 0.5382 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3734, allocations: 0 / 0.5382 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.3735, allocations: 93.42 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3735, allocations: 1.156 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.3735, allocations: 6.688 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.3736, allocations: 7.672 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002707/0.3739, allocations: 206.9 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000309/0.3742, allocations: 323.8 kB / 0.5388 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.854e-05/0.3743, allocations: 48.45 kB / 0.5389 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3745, allocations: 192.6 kB / 0.5391 GB, free: 7.676 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3745, allocations: 0 / 0.5391 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.376, allocations: 0.5511 MB / 0.5396 GB, free: 7.414 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007243/0.3767, allocations: 0.7316 MB / 0.5403 GB, free: 6.738 MB / 398.1 MB Notification: Performance of Templates: time 0.005423/0.3821, allocations: 2.231 MB / 0.5425 GB, free: 5.613 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches