Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 112.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002675/0.002675, allocations: 210.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.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 76.44 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3501, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003078/0.3532, allocations: 1.919 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3549, allocations: 1.121 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.355, allocations: 1.375 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.3555, allocations: 255 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.3559, allocations: 238.9 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3562, allocations: 111.3 kB / 0.5353 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.3565, allocations: 272.3 kB / 0.5356 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3566, allocations: 36.59 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3568, allocations: 131.8 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.357, allocations: 192.5 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.3571, allocations: 8.031 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3572, allocations: 63.05 kB / 0.536 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.3573, allocations: 64.69 kB / 0.536 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.3574, allocations: 103.3 kB / 0.5361 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3577, allocations: 252.4 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3577, allocations: 0 / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3577, allocations: 0 / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3577, allocations: 0 / 0.5364 GB, free: 10.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000698/0.3584, allocations: 0.5767 MB / 0.5369 GB, free: 9.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3585, allocations: 8.219 kB / 0.537 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.3585, allocations: 34.94 kB / 0.537 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3589, allocations: 299.4 kB / 0.5373 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3589, allocations: 7.562 kB / 0.5373 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.359, allocations: 9.438 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3592, allocations: 107.1 kB / 0.5374 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3592, allocations: 9.188 kB / 0.5374 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3592, allocations: 9.391 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3593, allocations: 1.125 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3594, allocations: 40.56 kB / 0.5375 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.3599, allocations: 494 kB / 0.5379 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.3603, allocations: 122.2 kB / 0.538 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3604, allocations: 56.97 kB / 0.5381 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3605, allocations: 3.188 kB / 0.5381 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.3607, allocations: 119.3 kB / 0.5382 GB, free: 8.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3607, allocations: 0 / 0.5382 GB, free: 8.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.362, allocations: 0.5145 MB / 0.5387 GB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.362, allocations: 78.45 kB / 0.5388 GB, free: 8.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.3625, allocations: 0.4892 MB / 0.5393 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3626, allocations: 32.42 kB / 0.5393 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3627, allocations: 161.6 kB / 0.5394 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.3627, allocations: 77.22 kB / 0.5395 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.3628, allocations: 45.7 kB / 0.5396 GB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3629, allocations: 349.6 kB / 0.5399 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3631, allocations: 53.2 kB / 0.54 GB, free: 7.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3632, allocations: 99.33 kB / 0.54 GB, free: 7.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.3635, allocations: 157.4 kB / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3635, allocations: 0 / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003945/0.3639, allocations: 240.6 kB / 0.5404 GB, free: 6.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3639, allocations: 9.281 kB / 0.5404 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3639, allocations: 5.281 kB / 0.5404 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3639, allocations: 1.406 kB / 0.5404 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3641, allocations: 38.98 kB / 0.5405 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3641, allocations: 1.281 kB / 0.5405 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.3642, allocations: 20.61 kB / 0.5405 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3642, allocations: 10.34 kB / 0.5405 GB, free: 6.922 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001657/0.3644, allocations: 170.1 kB / 0.5407 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3645, allocations: 35.03 kB / 0.5407 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.3645, allocations: 45.62 kB / 0.5407 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3645, allocations: 0 / 0.5407 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3646, allocations: 1.219 kB / 0.5407 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.3646, allocations: 105.2 kB / 0.5408 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.3647, allocations: 6.438 kB / 0.5409 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.3648, allocations: 15.2 kB / 0.5409 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3648, allocations: 20.77 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000512/0.3653, allocations: 379.5 kB / 0.5413 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004581/0.3658, allocations: 494.8 kB / 0.5417 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001374/0.366, allocations: 70.12 kB / 0.5418 GB, free: 5.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.3663, allocations: 377.1 kB / 0.5421 GB, free: 5.699 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.3663, allocations: 0 / 0.5421 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3681, allocations: 0.6267 MB / 0.5428 GB, free: 5.41 MB / 398.1 MB Notification: Performance of SimCode: time 0.001155/0.3693, allocations: 0.9746 MB / 0.5437 GB, free: 4.605 MB / 398.1 MB Notification: Performance of Templates: time 0.007205/0.3765, allocations: 3.381 MB / 0.547 GB, free: 1.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches