Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 116.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, 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.4/1.4, 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.22/0.22, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3403, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003636/0.344, allocations: 1.733 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3459, allocations: 1.022 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3461, allocations: 5 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.3464, allocations: 43.48 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.3469, allocations: 92.25 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.3473, allocations: 79.27 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3475, allocations: 100.9 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3476, allocations: 18.89 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3477, allocations: 35.7 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.3478, allocations: 42.2 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3478, allocations: 3.75 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3479, allocations: 44.27 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.348, allocations: 14 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.3481, allocations: 41.28 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3483, allocations: 120.7 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3483, allocations: 1.375 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3483, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3483, allocations: 4 kB / 0.5351 GB, free: 11.05 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.0006242/0.349, allocations: 415 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.349, allocations: 8.25 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.3491, allocations: 10.34 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3493, allocations: 213.2 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3494, allocations: 1.75 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3494, allocations: 10.88 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3496, allocations: 50.05 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3496, allocations: 7.906 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3496, allocations: 4 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3496, allocations: 1.375 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.3497, allocations: 18.98 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3501, allocations: 302.7 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3503, allocations: 57.94 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.3504, allocations: 21.09 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3504, allocations: 1.375 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.3506, allocations: 69.08 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.3506, allocations: 0 / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005635/0.3511, allocations: 169.7 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3512, allocations: 60.22 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.3514, allocations: 197.3 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3514, allocations: 26.73 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3515, allocations: 100.5 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3515, allocations: 27.88 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3516, allocations: 28.05 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3517, allocations: 327.1 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.3518, allocations: 18.66 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.3518, allocations: 39.95 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.352, allocations: 62.14 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.352, allocations: 1.312 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.3522, allocations: 107 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3522, allocations: 5.625 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3522, allocations: 0 / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3522, allocations: 1.656 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.3523, allocations: 25.09 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3523, allocations: 0.625 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.3524, allocations: 5.797 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3524, allocations: 7.625 kB / 0.5373 GB, free: 8.875 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.0001195/0.3526, allocations: 123 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3526, allocations: 9.062 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3526, allocations: 18.42 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3527, allocations: 1.281 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3527, allocations: 4 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3527, allocations: 87.14 kB / 0.5376 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.3528, allocations: 10.12 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.3528, allocations: 5.078 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3529, allocations: 3.719 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002426/0.3531, allocations: 180.8 kB / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002831/0.3534, allocations: 269.9 kB / 0.538 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.176e-05/0.3535, allocations: 30.05 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3536, allocations: 152.7 kB / 0.5382 GB, free: 8.105 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3536, allocations: 0 / 0.5382 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3552, allocations: 492.7 kB / 0.5387 GB, free: 7.871 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008104/0.356, allocations: 0.6682 MB / 0.5393 GB, free: 7.227 MB / 398.1 MB Notification: Performance of Templates: time 0.005672/0.3617, allocations: 1.814 MB / 0.5411 GB, free: 6.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches