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.001479/0.00148, allocations: 112.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 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.2411/0.2411, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3585, allocations: 62.42 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00289/0.3614, allocations: 1.735 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.3637, allocations: 1.618 MB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.3638, allocations: 1.375 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3641, allocations: 37.42 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3645, allocations: 106.9 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3647, allocations: 78.72 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3649, allocations: 102.1 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.365, allocations: 11.92 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.3651, allocations: 49 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3653, allocations: 50.48 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3653, allocations: 8.938 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.3655, allocations: 111.2 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.3655, allocations: 17.11 kB / 0.5356 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.3656, allocations: 39.48 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3659, allocations: 166.4 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3659, allocations: 1.188 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3659, allocations: 0 / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3659, allocations: 0 / 0.5358 GB, free: 10.52 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.0005646/0.3665, allocations: 432.5 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3665, allocations: 12.84 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.3666, allocations: 8.969 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3668, allocations: 215.7 kB / 0.5364 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3669, allocations: 5.188 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3669, allocations: 2.375 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3671, allocations: 66.02 kB / 0.5365 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3671, allocations: 1.094 kB / 0.5365 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3672, allocations: 4 kB / 0.5365 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3672, allocations: 5.156 kB / 0.5365 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.3673, allocations: 18.86 kB / 0.5365 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3678, allocations: 289.4 kB / 0.5368 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.368, allocations: 53.31 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.368, allocations: 22.16 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3681, allocations: 4.781 kB / 0.5369 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3683, allocations: 73.11 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3683, allocations: 0 / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006239/0.3689, allocations: 169 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.369, allocations: 78.48 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3692, allocations: 178.3 kB / 0.5373 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3692, allocations: 31.17 kB / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.3693, allocations: 104.1 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3693, allocations: 19.59 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.3694, allocations: 25.64 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3695, allocations: 321.1 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.3696, allocations: 19.03 kB / 0.5378 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.3697, allocations: 44.88 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3698, allocations: 63.08 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3698, allocations: 1.562 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.37, allocations: 103 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3701, allocations: 4.469 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3701, allocations: 0.9375 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3701, allocations: 1.219 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3702, allocations: 16.94 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3702, allocations: 9.125 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.3703, allocations: 5.984 kB / 0.5381 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3703, allocations: 7.188 kB / 0.5381 GB, free: 8.309 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.0001117/0.3704, allocations: 116.4 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3705, allocations: 12.31 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.3705, allocations: 16.8 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3705, allocations: 0 / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3705, allocations: 1.219 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.3706, allocations: 87.39 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3706, allocations: 9.156 kB / 0.5383 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.3707, allocations: 6.609 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3707, allocations: 2.188 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002285/0.371, allocations: 177.6 kB / 0.5385 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002646/0.3712, allocations: 278 kB / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.83e-05/0.3713, allocations: 29.03 kB / 0.5388 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.3714, allocations: 132.2 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.3714, allocations: 0 / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.3731, allocations: 0.5564 MB / 0.5394 GB, free: 7.289 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007375/0.3738, allocations: 0.6556 MB / 0.5401 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Templates: time 0.005622/0.3794, allocations: 2.434 MB / 0.5425 GB, free: 5.391 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches