Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001303, allocations: 114.3 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.001381/0.001381, 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.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 79.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3604, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002773/0.3632, allocations: 1.738 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3648, allocations: 1.026 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3649, allocations: 1.969 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.3652, allocations: 86.03 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3655, allocations: 114.1 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3657, allocations: 75.41 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3659, allocations: 117.2 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.366, allocations: 10.88 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3661, allocations: 57.75 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3662, allocations: 60.58 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3663, allocations: 2.75 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.3664, allocations: 48.84 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.3664, allocations: 24.17 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.3665, allocations: 36 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3667, allocations: 128.8 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3667, allocations: 0 / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3667, allocations: 0 / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3667, allocations: 0 / 0.5352 GB, free: 11.02 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.0005615/0.3673, allocations: 425.7 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3673, allocations: 12.19 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3674, allocations: 19.62 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3677, allocations: 212.5 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3677, allocations: 1.75 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3677, allocations: 10.86 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3679, allocations: 54.05 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3679, allocations: 0 / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3679, allocations: 0 / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3679, allocations: 1.375 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.368, allocations: 26.92 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3684, allocations: 291.7 kB / 0.5362 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3686, allocations: 58.3 kB / 0.5362 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.3686, allocations: 21.31 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3687, allocations: 1.125 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3688, allocations: 73.77 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.3688, allocations: 0 / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.3694, allocations: 175 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.3694, allocations: 52.56 kB / 0.5365 GB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.3696, allocations: 225.6 kB / 0.5368 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3696, allocations: 30.98 kB / 0.5368 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3697, allocations: 102.7 kB / 0.5369 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3697, allocations: 23.58 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3698, allocations: 23.84 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3699, allocations: 330.7 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.37, allocations: 23.75 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.37, allocations: 35.39 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3702, allocations: 66.3 kB / 0.5374 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3702, allocations: 1.406 kB / 0.5374 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.3703, allocations: 103.4 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3704, allocations: 5.5 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3704, allocations: 0 / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3704, allocations: 5.172 kB / 0.5375 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.3705, allocations: 16.88 kB / 0.5375 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3705, allocations: 1.156 kB / 0.5375 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.3706, allocations: 10.28 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3706, allocations: 7.25 kB / 0.5375 GB, free: 8.824 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.0001095/0.3707, allocations: 133.3 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3707, allocations: 9.625 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3708, allocations: 19.02 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3708, allocations: 1.156 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3708, allocations: 0 / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3708, allocations: 88.42 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3709, allocations: 5.156 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.3709, allocations: 5.141 kB / 0.5378 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.371, allocations: 7.844 kB / 0.5378 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002117/0.3712, allocations: 181 kB / 0.5379 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000246/0.3714, allocations: 278.4 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.355e-05/0.3715, allocations: 25.42 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3717, allocations: 164.6 kB / 0.5384 GB, free: 8.047 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.3717, allocations: 3.938 kB / 0.5384 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3731, allocations: 0.4898 MB / 0.5389 GB, free: 7.805 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006449/0.3737, allocations: 0.6841 MB / 0.5395 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Templates: time 0.004401/0.3781, allocations: 1.805 MB / 0.5413 GB, free: 6.242 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches