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.001187/0.001187, 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.001154/0.001154, 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.926/0.926, allocations: 158.6 MB / 186 MB, free: 2.742 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.1521/0.1521, 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.523e-06/1.523e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.575e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002681/0.002706, allocations: 1.636 MB / 300.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.1454, allocations: 1.06 MB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.1455, allocations: 1.094 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1457, allocations: 28 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1459, allocations: 42.7 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1461, allocations: 73.33 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1463, allocations: 62.12 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.1464, allocations: 9.703 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.1464, allocations: 30.64 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.1465, allocations: 22.7 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1465, allocations: 2.656 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1466, allocations: 47.58 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.1467, allocations: 15.94 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1467, allocations: 10.38 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1469, allocations: 84.06 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1469, allocations: 0.5156 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1469, allocations: 1.25 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1469, allocations: 0 / 302.2 MB, free: 19.23 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.0003039/0.1472, allocations: 275.2 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1472, allocations: 10.03 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1473, allocations: 6.156 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1474, allocations: 137.5 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1474, allocations: 1.969 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1474, allocations: 4.234 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1475, allocations: 99.11 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1475, allocations: 1.031 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1475, allocations: 6.984 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1475, allocations: 1.719 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.1476, allocations: 6.641 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1477, allocations: 156.4 kB / 302.9 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1479, allocations: 36.73 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.1479, allocations: 9.922 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1479, allocations: 1.094 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1479, allocations: 33.47 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1479, allocations: 0 / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000268/0.1482, allocations: 82.36 kB / 303.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.1482, allocations: 78.23 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.1483, allocations: 141.1 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.1483, allocations: 26.36 kB / 303.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.1483, allocations: 86.41 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1483, allocations: 18.59 kB / 303.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.1483, allocations: 20.48 kB / 303.4 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.267e-05/0.1484, allocations: 316.6 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1484, allocations: 4.922 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.1484, allocations: 45.12 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.1484, allocations: 29.36 kB / 303.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1484, allocations: 0 / 303.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.068e-05/0.1485, allocations: 51.88 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1485, allocations: 5.562 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1485, allocations: 1.078 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1485, allocations: 1.625 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.1486, allocations: 14.12 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.1486, allocations: 0.5469 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.1486, allocations: 7.312 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.1486, allocations: 2.141 kB / 303.9 MB, free: 17.72 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.933e-05/0.1486, allocations: 117.9 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1487, allocations: 9.938 kB / 304 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.1487, allocations: 63.28 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1487, allocations: 0 / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.1487, allocations: 1.031 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1488, allocations: 0.7969 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1489, allocations: 214.8 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1489, allocations: 3.938 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.149, allocations: 11.02 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.149, allocations: 0.6094 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.149, allocations: 0.9062 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.149, allocations: 0 / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.149, allocations: 1.5 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.284e-05/0.149, allocations: 144.7 kB / 304.5 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.149, allocations: 8.266 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.149, allocations: 1.188 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.1491, allocations: 5.234 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.1491, allocations: 4.703 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1491, allocations: 3.797 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.1491, allocations: 31.98 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1491, allocations: 0 / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.1493, allocations: 19.44 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.001066/0.1503, allocations: 0.5666 MB / 305.1 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.1504, allocations: 18.94 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1504, allocations: 5.062 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.1505, allocations: 25.19 kB / 305.2 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.1506, allocations: 27.73 kB / 305.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.1509, allocations: 149.1 kB / 305.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.1509, allocations: 60.05 kB / 305.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.151, allocations: 11.28 kB / 305.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.151, allocations: 63.58 kB / 305.5 MB, free: 16.63 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.151, allocations: 1.094 kB / 305.5 MB, free: 16.63 MB / 282.7 MB Notification: Performance of Templates: time 0.003599/0.1546, allocations: 1.523 MB / 307 MB, free: 16.44 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 -s gbode -gbm=radauIIA3 -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: 2.8951770151033998]