Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.00105/0.00105, 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.001219/0.001219, allocations: 169 kB / 24.14 MB, free: 364 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.9722/0.9722, 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.1466/0.1466, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.33e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002352/0.002375, allocations: 1.686 MB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005762/0.002951, allocations: 367.1 kB / 301.2 MB, free: 92 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.003012, allocations: 4 kB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1462/0.1492, allocations: 443.4 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.1496, allocations: 257.6 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.15, allocations: 147.8 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1504, allocations: 170.4 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.1505, allocations: 9.25 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1507, allocations: 119.5 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1509, allocations: 203 kB / 302.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.151, allocations: 3.562 kB / 302.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.151, allocations: 33.23 kB / 302.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.1511, allocations: 92.33 kB / 302.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.1512, allocations: 37.38 kB / 302.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1514, allocations: 193.3 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1514, allocations: 4.062 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1514, allocations: 0.5625 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1514, allocations: 0.625 kB / 302.8 MB, free: 19.17 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.0004706/0.1519, allocations: 0.5436 MB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1519, allocations: 10.88 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.152, allocations: 23.22 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1521, allocations: 246.5 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1521, allocations: 2.031 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1522, allocations: 3 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.1523, allocations: 65.11 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1523, allocations: 192 / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1523, allocations: 1.688 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1523, allocations: 7.844 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.1523, allocations: 10.03 kB / 303.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1526, allocations: 209 kB / 304 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.1526, allocations: 25.2 kB / 304 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.1527, allocations: 12.89 kB / 304 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1527, allocations: 1.062 kB / 304 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.1527, allocations: 32.5 kB / 304 MB, free: 18.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1527, allocations: 0 / 304 MB, free: 18.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003321/0.153, allocations: 130 kB / 304.2 MB, free: 18.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.153, allocations: 52.5 kB / 304.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.1535, allocations: 0.5228 MB / 304.7 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.1535, allocations: 27.48 kB / 304.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.1535, allocations: 137.7 kB / 304.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1536, allocations: 31.5 kB / 304.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1536, allocations: 20.17 kB / 304.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.1537, allocations: 360.2 kB / 305.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.1537, allocations: 5.953 kB / 305.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.1537, allocations: 7.047 kB / 305.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.1537, allocations: 35.48 kB / 305.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1537, allocations: 0 / 305.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.521e-05/0.1538, allocations: 74.03 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1539, allocations: 5.406 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1539, allocations: 0.7969 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1539, allocations: 1.125 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.1539, allocations: 16.23 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1539, allocations: 3 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.154, allocations: 13.72 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.154, allocations: 1.531 kB / 305.5 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 (7): * Single equations (assignments): 7 * 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 6.008e-05/0.154, allocations: 111.5 kB / 305.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1541, allocations: 26.31 kB / 305.6 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1542, allocations: 98.69 kB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1542, allocations: 4.156 kB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1542, allocations: 0.7969 kB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1542, allocations: 1.344 kB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.1545, allocations: 280.1 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1545, allocations: 1.125 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.1545, allocations: 23.03 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1545, allocations: 0.5156 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1545, allocations: 1.312 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1545, allocations: 0.6562 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1546, allocations: 1.5 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.1547, allocations: 170.1 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.1547, allocations: 34.03 kB / 306.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1547, allocations: 8.969 kB / 306.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.1547, allocations: 6.062 kB / 306.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1548, allocations: 5.016 kB / 306.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1548, allocations: 6.375 kB / 306.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002303/0.155, allocations: 283.1 kB / 306.5 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.155, allocations: 0 / 306.5 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.1551, allocations: 25.94 kB / 306.5 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 (7): * Single equations (assignments): 7 * 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.0009939/0.1561, allocations: 0.4982 MB / 307 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.1562, allocations: 32 kB / 307 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.1562, allocations: 4.906 kB / 307 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.1563, allocations: 21.56 kB / 307.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1565, allocations: 38.41 kB / 307.1 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.1574, allocations: 0.5876 MB / 307.7 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1575, allocations: 122.9 kB / 307.8 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.1575, allocations: 10.52 kB / 307.8 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1576, allocations: 59.98 kB / 307.9 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1576, allocations: 0 / 307.9 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004569/0.1622, allocations: 1.568 MB / 309.5 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.984666316770017]