Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.0008925/0.0008925, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009245/0.0009245, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9168/0.9168, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1208/0.1208, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.627e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002326/0.002342, allocations: 1.735 MB / 300.9 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.1551, allocations: 0.7964 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.1552, allocations: 5.344 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1554, allocations: 31.41 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1556, allocations: 63.02 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1557, allocations: 87.56 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1559, allocations: 99.38 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.1559, allocations: 5.922 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.156, allocations: 55.38 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.1561, allocations: 25.38 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1561, allocations: 4 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.1561, allocations: 47.64 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.1562, allocations: 19.97 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.1562, allocations: 19.62 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1563, allocations: 93.3 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1563, allocations: 1.281 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1563, allocations: 0 / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1563, allocations: 0 / 302.2 MB, free: 19.14 MB / 282.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.0002244/0.1566, allocations: 311 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.46e-05/0.1566, allocations: 9.375 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.1566, allocations: 12.7 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.1567, allocations: 142.2 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1567, allocations: 2.031 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1567, allocations: 7.266 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.1568, allocations: 63.78 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1568, allocations: 5.344 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.1568, allocations: 1.359 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1568, allocations: 1.031 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.1568, allocations: 13.17 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.157, allocations: 165.2 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.1571, allocations: 88.31 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.1571, allocations: 12.42 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1571, allocations: 2.578 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.1571, allocations: 66.14 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1571, allocations: 0.5625 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002072/0.1574, allocations: 109.9 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.426e-05/0.1574, allocations: 56.81 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.1574, allocations: 166.3 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.1575, allocations: 27.73 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.1575, allocations: 89.28 kB / 303.5 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1575, allocations: 27.81 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1575, allocations: 28.28 kB / 303.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.1576, allocations: 322.1 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.1576, allocations: 10.73 kB / 303.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.1576, allocations: 25.84 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.1576, allocations: 44.84 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1576, allocations: 1.094 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.407e-05/0.1577, allocations: 70.77 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.1577, allocations: 7.906 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.1577, allocations: 0.6094 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.1577, allocations: 1.375 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.1578, allocations: 21.97 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.1578, allocations: 1.734 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1578, allocations: 3.016 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1578, allocations: 2.469 kB / 304.1 MB, free: 17.62 MB / 282.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 4.668e-05/0.1579, allocations: 121.2 kB / 304.2 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1579, allocations: 13.84 kB / 304.2 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.158, allocations: 75.94 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.158, allocations: 1.281 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.158, allocations: 1.312 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.158, allocations: 3.391 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1582, allocations: 291.6 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1582, allocations: 1.797 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.1582, allocations: 9.25 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1582, allocations: 5.125 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1582, allocations: 5.125 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1582, allocations: 2.062 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1582, allocations: 1.125 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.478e-05/0.1583, allocations: 221.8 kB / 304.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.1583, allocations: 12.38 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1583, allocations: 1.844 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.1584, allocations: 3.266 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.1584, allocations: 10.41 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1584, allocations: 3.203 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.1584, allocations: 43.44 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 0 / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.1586, allocations: 25.97 kB / 304.9 MB, free: 17 MB / 282.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.0011/0.1597, allocations: 0.5708 MB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.1598, allocations: 43.38 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1598, allocations: 1.156 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.1598, allocations: 24.05 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.16, allocations: 42.09 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.1602, allocations: 204.9 kB / 305.8 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.237e-05/0.1603, allocations: 66.33 kB / 305.9 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.1603, allocations: 19.23 kB / 305.9 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1604, allocations: 70.03 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1604, allocations: 1.125 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of Templates: time 0.003892/0.1642, allocations: 1.994 MB / 308 MB, free: 16.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.123436946887523]