Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001189/0.001189, 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.001376/0.001376, allocations: 173 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.8637/0.8637, 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.1456/0.1456, allocations: 32.37 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.377e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002188/0.002212, allocations: 1.597 MB / 300.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.146/0.1482, allocations: 1.06 MB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.1482, allocations: 0 / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1485, allocations: 31.52 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1487, allocations: 42.41 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1489, allocations: 71.08 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.149, allocations: 60.19 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.149, allocations: 13.3 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.1491, allocations: 25.88 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.1492, allocations: 21.06 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1492, allocations: 3 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.1493, allocations: 50.91 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.1493, allocations: 14.73 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.1493, allocations: 15.75 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1495, allocations: 79.64 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1495, allocations: 0 / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1495, allocations: 0 / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1495, allocations: 1.656 kB / 302.2 MB, free: 19.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002905/0.1498, allocations: 278.2 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1498, allocations: 10.94 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.1499, allocations: 4.891 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.15, allocations: 129.8 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.15, allocations: 2.375 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.15, allocations: 6.344 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.1501, allocations: 94.17 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1501, allocations: 0.9688 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1501, allocations: 9.406 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1501, allocations: 1.562 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.1501, allocations: 5.203 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1503, allocations: 157.5 kB / 302.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1504, allocations: 34.38 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.1504, allocations: 9.5 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1505, allocations: 2.812 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.1505, allocations: 35.66 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1505, allocations: 0.5938 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002577/0.1507, allocations: 82.94 kB / 303 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1508, allocations: 78.78 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.1508, allocations: 135 kB / 303.2 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.1508, allocations: 25.7 kB / 303.2 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.1508, allocations: 89.52 kB / 303.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1509, allocations: 18.3 kB / 303.3 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1509, allocations: 18.19 kB / 303.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.1509, allocations: 323.4 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1509, allocations: 9.016 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.151, allocations: 43.77 kB / 303.7 MB, free: 17.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.151, allocations: 21.38 kB / 303.7 MB, free: 17.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.151, allocations: 4.469 kB / 303.7 MB, free: 17.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.199e-05/0.151, allocations: 46.86 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1511, allocations: 5.719 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1511, allocations: 1.062 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1511, allocations: 1.906 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.1511, allocations: 9.828 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.1511, allocations: 0.7969 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.1511, allocations: 7.156 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1511, allocations: 1.688 kB / 303.8 MB, free: 17.73 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 3.869e-05/0.1512, allocations: 117.6 kB / 303.9 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.1512, allocations: 12.83 kB / 303.9 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.1513, allocations: 68.52 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1513, allocations: 1.156 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1513, allocations: 2.016 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1513, allocations: 1.922 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1514, allocations: 205.1 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1514, allocations: 5.031 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.1515, allocations: 9 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1515, allocations: 1.156 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1515, allocations: 0.6094 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1515, allocations: 1.812 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1515, allocations: 2.422 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.749e-05/0.1515, allocations: 141.1 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.1515, allocations: 8.359 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.1515, allocations: 1.156 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.1516, allocations: 7.281 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.1516, allocations: 13.08 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1516, allocations: 1.812 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1516, allocations: 26.12 kB / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1516, allocations: 0 / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.1518, allocations: 25.47 kB / 304.5 MB, free: 17.22 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.00109/0.1529, allocations: 0.5672 MB / 305 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.153, allocations: 23.52 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.153, allocations: 4 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.153, allocations: 18.59 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1531, allocations: 24.66 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.1534, allocations: 148.6 kB / 305.2 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.1534, allocations: 60.03 kB / 305.3 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.1535, allocations: 11.17 kB / 305.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1536, allocations: 67.75 kB / 305.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1536, allocations: 0 / 305.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of Templates: time 0.00347/0.157, allocations: 1.525 MB / 306.9 MB, free: 16.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.069397311192006]