Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001112/0.001112, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003662/0.003662, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 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 0.8095/0.8095, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.348e-05, allocations: 2.281 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.1519/0.1519, allocations: 1.721 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.1529, allocations: 0.9646 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.153, allocations: 2.906 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1532, allocations: 44.92 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1535, allocations: 99.28 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.1537, allocations: 83 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1538, allocations: 110.5 kB / 446.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1539, allocations: 6.891 kB / 446.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.154, allocations: 59.19 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.1541, allocations: 29.25 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1541, allocations: 2.625 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.1542, allocations: 44.86 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1542, allocations: 22.92 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.1543, allocations: 17.94 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1545, allocations: 123.6 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1545, allocations: 2.875 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1545, allocations: 0 / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.1545, allocations: 0 / 446.8 MB, free: 43.1 MB / 410.7 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.0004285/0.1549, allocations: 353.2 kB / 447.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1549, allocations: 8.844 kB / 447.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.155, allocations: 14.39 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1552, allocations: 159.4 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1552, allocations: 384 / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1552, allocations: 3.406 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1553, allocations: 55.42 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1554, allocations: 6.938 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1554, allocations: 0 / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1554, allocations: 0 / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.1554, allocations: 26.09 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.1557, allocations: 228 kB / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1558, allocations: 60.55 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1558, allocations: 24.67 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1558, allocations: 2.844 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/0.1559, allocations: 71.33 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1559, allocations: 2.188 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003564/0.1563, allocations: 187.4 kB / 448 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.1563, allocations: 51.41 kB / 448.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1564, allocations: 212.7 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.1564, allocations: 29.7 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1564, allocations: 113 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1564, allocations: 18.67 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.1565, allocations: 29.36 kB / 448.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.1565, allocations: 320.7 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.1565, allocations: 23.03 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.1566, allocations: 46.5 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.1566, allocations: 68.62 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1566, allocations: 0 / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.467e-05/0.1567, allocations: 101.6 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1567, allocations: 10.31 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1567, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1567, allocations: 6.844 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.1568, allocations: 21.88 kB / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1568, allocations: 0 / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.1568, allocations: 2.938 kB / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1568, allocations: 3.031 kB / 449.1 MB, free: 41.32 MB / 410.7 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 5.043e-05/0.1569, allocations: 131.2 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1569, allocations: 14.05 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.157, allocations: 121.3 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.157, allocations: 2.875 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.157, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.157, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1573, allocations: 356.4 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1573, allocations: 2.594 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.1573, allocations: 8.312 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1573, allocations: 0 / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1573, allocations: 10.94 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1573, allocations: 9.375 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1573, allocations: 3 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1574, allocations: 219.7 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.1574, allocations: 10.03 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1574, allocations: 2.938 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.1575, allocations: 2.656 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1575, allocations: 10.38 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1575, allocations: 2.844 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.118e-05/0.1576, allocations: 165 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1576, allocations: 4 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1578, allocations: 24.45 kB / 450.1 MB, free: 40.54 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.000753/0.1585, allocations: 494.8 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1586, allocations: 61.28 kB / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1586, allocations: 0 / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.1587, allocations: 32.56 kB / 450.7 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1589, allocations: 44.86 kB / 450.8 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.1592, allocations: 265.8 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.1592, allocations: 98.3 kB / 451.1 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.1593, allocations: 21.25 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1593, allocations: 0 / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002333/0.1616, allocations: 2.024 MB / 453.2 MB, free: 39.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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: 4.801550134085119]