Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001258, allocations: 206.7 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 62.44 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003177/0.3674, allocations: 1.737 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3692, allocations: 1.021 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.3693, allocations: 1.969 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.3696, allocations: 43.11 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.37, allocations: 90.48 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3702, allocations: 82.81 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3704, allocations: 105.4 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3705, allocations: 15.77 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3706, allocations: 43.75 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.3707, allocations: 30.8 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3707, allocations: 2.75 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3709, allocations: 44.84 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.3709, allocations: 22.73 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.371, allocations: 36 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3712, allocations: 122.7 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3713, allocations: 0 / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3713, allocations: 3.984 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3713, allocations: 0 / 0.5351 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.0005826/0.3719, allocations: 424.8 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3719, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.372, allocations: 13 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3723, allocations: 221.3 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3723, allocations: 1.75 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3723, allocations: 10.88 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3725, allocations: 54.05 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3725, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3725, allocations: 1.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3725, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.3726, allocations: 18.98 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.373, allocations: 282.9 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3732, allocations: 65.86 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.3732, allocations: 17.11 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3733, allocations: 1.375 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3734, allocations: 65.14 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3734, allocations: 0 / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.374, allocations: 186.3 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3741, allocations: 52.5 kB / 0.5364 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3743, allocations: 196.9 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3743, allocations: 26.89 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.3744, allocations: 105.5 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3744, allocations: 31.28 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3745, allocations: 24.47 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3746, allocations: 330.3 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3747, allocations: 23.02 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3748, allocations: 35.27 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3749, allocations: 58.81 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3749, allocations: 1.094 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3751, allocations: 107.5 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3752, allocations: 8.656 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3752, allocations: 5.062 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3752, allocations: 1.062 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.3753, allocations: 17.02 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3753, allocations: 5.062 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.3754, allocations: 6.219 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3754, allocations: 6.188 kB / 0.5374 GB, free: 8.848 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.0001089/0.3755, allocations: 126.6 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3755, allocations: 18.36 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.3756, allocations: 17.97 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3756, allocations: 1.062 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3756, allocations: 0 / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3757, allocations: 91.36 kB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3757, allocations: 6.094 kB / 0.5376 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.3757, allocations: 1.25 kB / 0.5376 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3758, allocations: 7.359 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002394/0.376, allocations: 172.5 kB / 0.5378 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002714/0.3763, allocations: 282.3 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.892e-05/0.3764, allocations: 30.53 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3765, allocations: 152.7 kB / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3765, allocations: 0 / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.378, allocations: 482.8 kB / 0.5387 GB, free: 7.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006585/0.3787, allocations: 0.6618 MB / 0.5393 GB, free: 7.195 MB / 398.1 MB Notification: Performance of Templates: time 0.00519/0.3839, allocations: 1.782 MB / 0.5411 GB, free: 6.297 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches