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.001057/0.001057, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001289, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 79.88 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003014/0.35, allocations: 1.727 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3517, allocations: 1.029 MB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.3518, allocations: 1.375 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.352, allocations: 42.77 kB / 0.5345 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.3523, allocations: 91.11 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3525, allocations: 74.92 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3527, allocations: 110.3 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.3528, allocations: 14.84 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.3529, allocations: 42.86 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.353, allocations: 30.8 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.353, allocations: 4.125 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3531, allocations: 43.47 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.3532, allocations: 18.8 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.3532, allocations: 39.98 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3534, allocations: 120.6 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3534, allocations: 0 / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3534, allocations: 0 / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3534, allocations: 3.938 kB / 0.535 GB, free: 11.28 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.0005269/0.354, allocations: 417.6 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.354, allocations: 9.312 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.3541, allocations: 9.031 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3544, allocations: 217.3 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3544, allocations: 1.5 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3544, allocations: 10.28 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3546, allocations: 55.36 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3546, allocations: 3.906 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3546, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3546, allocations: 5.406 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.3547, allocations: 18.55 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.355, allocations: 285.9 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3552, allocations: 66.09 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.3553, allocations: 26.28 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3553, allocations: 0 / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.3554, allocations: 65.48 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3555, allocations: 0 / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.356, allocations: 183.2 kB / 0.5364 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.356, allocations: 52.47 kB / 0.5364 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3562, allocations: 192.5 kB / 0.5366 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3562, allocations: 34.83 kB / 0.5366 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3563, allocations: 100.6 kB / 0.5367 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3563, allocations: 24.31 kB / 0.5367 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3564, allocations: 19.81 kB / 0.5368 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3565, allocations: 334.4 kB / 0.5371 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.3566, allocations: 18.5 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.3566, allocations: 36.55 kB / 0.5371 GB, free: 9.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3568, allocations: 70.77 kB / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3568, allocations: 0 / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.357, allocations: 99.84 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.357, allocations: 9.562 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.357, allocations: 0 / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.357, allocations: 5.953 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.3571, allocations: 12.5 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3571, allocations: 5.062 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3572, allocations: 6.688 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3572, allocations: 6.344 kB / 0.5373 GB, free: 9.113 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 9.39e-05/0.3573, allocations: 123.2 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3573, allocations: 8.75 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.3574, allocations: 26.64 kB / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3574, allocations: 1 kB / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3574, allocations: 0 / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3574, allocations: 92.36 kB / 0.5376 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3575, allocations: 5.906 kB / 0.5376 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.3575, allocations: 1.844 kB / 0.5376 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3576, allocations: 9.812 kB / 0.5376 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002192/0.3578, allocations: 168.4 kB / 0.5378 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002439/0.358, allocations: 282.6 kB / 0.538 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.317e-05/0.3581, allocations: 30.11 kB / 0.5381 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3582, allocations: 151.7 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of Backend: time 6.51e-07/0.3582, allocations: 1.281 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3596, allocations: 480.5 kB / 0.5387 GB, free: 8.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006412/0.3602, allocations: 0.6662 MB / 0.5393 GB, free: 7.461 MB / 398.1 MB Notification: Performance of Templates: time 0.004556/0.3648, allocations: 1.826 MB / 0.5411 GB, free: 6.535 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