Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001261/0.001261, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001391/0.001391, allocations: 169 kB / 24.14 MB, free: 356 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.8735/0.8735, allocations: 158.6 MB / 186 MB, free: 2.762 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.1247/0.1247, 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.485e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002356/0.002371, allocations: 1.639 MB / 300.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.002853, allocations: 335.3 kB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.002897, allocations: 0 / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.136/0.1389, allocations: 444.8 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1393, allocations: 259 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1396, allocations: 106.5 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1399, allocations: 159.8 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.14, allocations: 13.69 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1402, allocations: 115 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1404, allocations: 202 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1404, allocations: 3 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.498e-05/0.1405, allocations: 30.28 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1406, allocations: 85.31 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1407, allocations: 32.2 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1409, allocations: 193 kB / 302.6 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1409, allocations: 0 / 302.6 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1409, allocations: 4.875 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1409, allocations: 1.656 kB / 302.7 MB, free: 19.15 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.0004931/0.1414, allocations: 0.5306 MB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1415, allocations: 9.375 kB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1415, allocations: 31.17 kB / 303.2 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1416, allocations: 241 kB / 303.5 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1417, allocations: 3.219 kB / 303.5 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1417, allocations: 8.172 kB / 303.5 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.1418, allocations: 55.75 kB / 303.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1418, allocations: 1.547 kB / 303.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1418, allocations: 7.875 kB / 303.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1418, allocations: 1.812 kB / 303.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.1418, allocations: 7.438 kB / 303.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.142, allocations: 161.5 kB / 303.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1421, allocations: 31.09 kB / 303.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.1421, allocations: 8.547 kB / 303.7 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1422, allocations: 2.047 kB / 303.7 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1422, allocations: 36.62 kB / 303.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1422, allocations: 0 / 303.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002556/0.1424, allocations: 108.2 kB / 303.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.1424, allocations: 51.41 kB / 303.9 MB, free: 18.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.1428, allocations: 0.5194 MB / 304.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1428, allocations: 27.34 kB / 304.5 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1429, allocations: 140.2 kB / 304.6 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1429, allocations: 21.81 kB / 304.6 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.1429, allocations: 15.2 kB / 304.7 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.143, allocations: 354.4 kB / 305 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.143, allocations: 4 kB / 305 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.143, allocations: 4.266 kB / 305 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.143, allocations: 31.67 kB / 305 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.143, allocations: 0.6562 kB / 305 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.147e-05/0.1431, allocations: 65 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1431, allocations: 6.359 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1431, allocations: 0 / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1431, allocations: 0 / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.1432, allocations: 10.5 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.1432, allocations: 1.156 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.1432, allocations: 3.047 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.1432, allocations: 0.9375 kB / 305.1 MB, free: 17.54 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 5.223e-05/0.1433, allocations: 118 kB / 305.2 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1433, allocations: 31.39 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1434, allocations: 84.53 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1434, allocations: 3.312 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1434, allocations: 0.75 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1434, allocations: 1.125 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1436, allocations: 280.1 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1436, allocations: 0 / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.1437, allocations: 12.92 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1437, allocations: 1.156 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.1437, allocations: 0.6562 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1437, allocations: 1.062 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1437, allocations: 0 / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.385e-05/0.1437, allocations: 162 kB / 305.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.1438, allocations: 33.19 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1438, allocations: 5.297 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.1438, allocations: 7 kB / 305.8 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.1438, allocations: 4.531 kB / 305.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1438, allocations: 0 / 305.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.1441, allocations: 282.6 kB / 306.1 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1441, allocations: 0 / 306.1 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.1442, allocations: 21.02 kB / 306.1 MB, free: 17 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.0009412/0.1452, allocations: 0.4925 MB / 306.6 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.1452, allocations: 23.25 kB / 306.7 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.1452, allocations: 8.031 kB / 306.7 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.1453, allocations: 16.7 kB / 306.7 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.1454, allocations: 33.03 kB / 306.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.146, allocations: 0.5752 MB / 307.3 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.374e-05/0.1461, allocations: 118.7 kB / 307.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.1462, allocations: 11.17 kB / 307.4 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.1462, allocations: 57.88 kB / 307.5 MB, free: 16.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1462, allocations: 3.938 kB / 307.5 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004148/0.1503, allocations: 1.423 MB / 308.9 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.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.89586141705513]