Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.763/1.763, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 79.83 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 65.46 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003148/0.3182, allocations: 1.741 MB / 0.56 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3199, allocations: 1.049 MB / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.32, allocations: 0 / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3203, allocations: 87.69 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3206, allocations: 111.5 kB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3208, allocations: 83.66 kB / 0.5613 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.321, allocations: 119.7 kB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.3211, allocations: 7.984 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3212, allocations: 63.7 kB / 0.5615 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3213, allocations: 55.81 kB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3213, allocations: 4 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.3214, allocations: 51.86 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.3215, allocations: 27.91 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.3215, allocations: 43.67 kB / 0.5617 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3218, allocations: 121.9 kB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3218, allocations: 0 / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3218, allocations: 4 kB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3218, allocations: 0 / 0.5618 GB, free: 4.121 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.0005242/0.3223, allocations: 353.5 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3223, allocations: 12.03 kB / 0.5621 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3224, allocations: 12.84 kB / 0.5621 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3226, allocations: 162.7 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3227, allocations: 12.38 kB / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3227, allocations: 4.125 kB / 0.5623 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3228, allocations: 57.67 kB / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3228, allocations: 0 / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3228, allocations: 0 / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3228, allocations: 4 kB / 0.5624 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.3229, allocations: 15.98 kB / 0.5624 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.3233, allocations: 271.8 kB / 0.5626 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3235, allocations: 58.67 kB / 0.5627 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.3235, allocations: 16.86 kB / 0.5627 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3235, allocations: 0 / 0.5627 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3237, allocations: 71.31 kB / 0.5628 GB, free: 2.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3237, allocations: 0 / 0.5628 GB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00052/0.3242, allocations: 173.4 kB / 0.563 GB, free: 2.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3243, allocations: 59.34 kB / 0.563 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3245, allocations: 227.5 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3245, allocations: 29.7 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.3246, allocations: 104.1 kB / 0.5634 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3246, allocations: 27.78 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3247, allocations: 21.72 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3248, allocations: 334.7 kB / 0.5637 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.3249, allocations: 19.98 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.325, allocations: 37.7 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3251, allocations: 57.66 kB / 0.5638 GB, free: 1.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3251, allocations: 7.984 kB / 0.5638 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3253, allocations: 93.78 kB / 0.5639 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3253, allocations: 8 kB / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3253, allocations: 3.938 kB / 0.5639 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3253, allocations: 4.031 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.3254, allocations: 19.92 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3254, allocations: 4 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.3254, allocations: 7.938 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3255, allocations: 4 kB / 0.564 GB, free: 1.664 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.0001181/0.3256, allocations: 133.8 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3256, allocations: 12.28 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3258, allocations: 123.1 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3258, allocations: 4 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3258, allocations: 0 / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3259, allocations: 7.938 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3263, allocations: 370.4 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3263, allocations: 4 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.3264, allocations: 4 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3264, allocations: 7.984 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3264, allocations: 3.938 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3264, allocations: 0 / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3264, allocations: 8.031 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3266, allocations: 200.3 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3266, allocations: 15.88 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3267, allocations: 3.938 kB / 0.5648 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3267, allocations: 4 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3268, allocations: 7.984 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3268, allocations: 8 kB / 0.5649 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3269, allocations: 169.1 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3269, allocations: 3.938 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3272, allocations: 35.88 kB / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/0.3289, allocations: 461 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3291, allocations: 51.92 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3291, allocations: 0 / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.3292, allocations: 27.98 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3296, allocations: 35.94 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.3301, allocations: 291.1 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3304, allocations: 0.7119 MB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3305, allocations: 15.44 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3305, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004139/0.3346, allocations: 2.004 MB / 0.5685 GB, free: 13.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.12145449896343]