Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.0009467/0.0009467, 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.0009105/0.0009105, 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.8276/0.8276, 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.1724/0.1724, 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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.18e-05, allocations: 6.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.00229/0.002312, allocations: 1.639 MB / 300.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004942/0.002806, allocations: 327.3 kB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.002851, allocations: 0 / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1278/0.1307, allocations: 451.5 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.1311, allocations: 256.9 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1314, allocations: 109.4 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1317, allocations: 157.2 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.1318, allocations: 15.7 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.132, allocations: 119.4 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1322, allocations: 191.1 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1322, allocations: 3.625 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.1323, allocations: 37.19 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1324, allocations: 84.67 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.1324, allocations: 35.38 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1327, allocations: 188.1 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1327, allocations: 1.031 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1327, allocations: 0.5312 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1327, allocations: 0.6562 kB / 302.6 MB, free: 19.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004451/0.1331, allocations: 0.5337 MB / 303.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1331, allocations: 15.19 kB / 303.2 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1332, allocations: 26.98 kB / 303.2 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1333, allocations: 241 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1333, allocations: 6.062 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1334, allocations: 7.125 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.1334, allocations: 53.27 kB / 303.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1334, allocations: 1.219 kB / 303.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1334, allocations: 9 kB / 303.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1334, allocations: 0.6562 kB / 303.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.1335, allocations: 7.797 kB / 303.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1336, allocations: 162.2 kB / 303.7 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1338, allocations: 30.33 kB / 303.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1338, allocations: 9.578 kB / 303.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1338, allocations: 1.922 kB / 303.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.1338, allocations: 35.62 kB / 303.8 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1338, allocations: 3 kB / 303.8 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002612/0.1341, allocations: 105.6 kB / 303.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.1341, allocations: 53.17 kB / 303.9 MB, free: 18.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.1345, allocations: 0.5202 MB / 304.5 MB, free: 18.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/0.1345, allocations: 25.7 kB / 304.5 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.1345, allocations: 140.7 kB / 304.6 MB, free: 17.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1346, allocations: 15.62 kB / 304.6 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1346, allocations: 21.64 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.1346, allocations: 358.3 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.1346, allocations: 3.297 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.1347, allocations: 3.984 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.1347, allocations: 25.19 kB / 305 MB, free: 17.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1347, allocations: 0 / 305 MB, free: 17.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.955e-05/0.1348, allocations: 68.64 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1348, allocations: 5.625 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1348, allocations: 0 / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1348, allocations: 1 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.1348, allocations: 10.25 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1348, allocations: 4.25 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1349, allocations: 4.312 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1349, allocations: 1.562 kB / 305.1 MB, free: 17.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.928e-05/0.1349, allocations: 115.7 kB / 305.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.135, allocations: 29.95 kB / 305.3 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1351, allocations: 84.34 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1351, allocations: 1.156 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1351, allocations: 0.6094 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1351, allocations: 1.188 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1353, allocations: 276.7 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1353, allocations: 0 / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1354, allocations: 11.14 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1354, allocations: 1.078 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1354, allocations: 7.844 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1354, allocations: 0 / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1354, allocations: 0 / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.582e-05/0.1354, allocations: 159.8 kB / 305.8 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.1355, allocations: 36.81 kB / 305.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1355, allocations: 1.094 kB / 305.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.1355, allocations: 11.5 kB / 305.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.1355, allocations: 3.109 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1355, allocations: 1.281 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.1358, allocations: 274.6 kB / 306.1 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1358, allocations: 0 / 306.1 MB, free: 17.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.1359, allocations: 25.98 kB / 306.1 MB, free: 17.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009763/0.1369, allocations: 0.4956 MB / 306.6 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.137, allocations: 27.33 kB / 306.7 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.137, allocations: 11.31 kB / 306.7 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.137, allocations: 14.41 kB / 306.7 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.1372, allocations: 28.52 kB / 306.7 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.1378, allocations: 0.5721 MB / 307.3 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.1378, allocations: 116.6 kB / 307.4 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1379, allocations: 10.88 kB / 307.4 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1379, allocations: 62.08 kB / 307.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1379, allocations: 0 / 307.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of Templates: time 0.004296/0.1422, allocations: 1.431 MB / 308.9 MB, free: 16.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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: 2.966772696003318]