Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0009545/0.0009545, allocations: 76.06 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.001047/0.001047, 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.8075/0.8075, allocations: 158.6 MB / 186 MB, free: 2.734 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.1587/0.1587, allocations: 32.39 MB / 270.7 MB, free: 14.59 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.401e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001901/0.001915, allocations: 1.65 MB / 300.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.002373, allocations: 355.1 kB / 301.1 MB, free: 184 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.002421, allocations: 7.938 kB / 301.1 MB, free: 176 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1302/0.1326, allocations: 440.8 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.1329, allocations: 257.5 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1333, allocations: 143.5 kB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1336, allocations: 169.7 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1336, allocations: 7.734 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1338, allocations: 121.7 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.134, allocations: 196.9 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.134, allocations: 3.969 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.1341, allocations: 32.89 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.1342, allocations: 88.55 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.1342, allocations: 36.66 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1344, allocations: 191.7 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1344, allocations: 2.844 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1344, allocations: 0 / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1344, allocations: 0 / 302.7 MB, free: 19.16 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.0003912/0.1348, allocations: 0.5408 MB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1348, allocations: 10.77 kB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1349, allocations: 22.88 kB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.135, allocations: 243.5 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.135, allocations: 5.656 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1351, allocations: 4.203 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.1351, allocations: 56.12 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1351, allocations: 2.969 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1351, allocations: 8.344 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1351, allocations: 1.219 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.1352, allocations: 7.656 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.1354, allocations: 204.3 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1355, allocations: 35.39 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.1355, allocations: 12.03 kB / 303.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1355, allocations: 1.281 kB / 303.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.1355, allocations: 39.77 kB / 303.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1355, allocations: 0 / 303.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002436/0.1358, allocations: 93.81 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.1358, allocations: 53.53 kB / 304.1 MB, free: 18.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.1362, allocations: 0.5192 MB / 304.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.1362, allocations: 28.8 kB / 304.6 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1362, allocations: 147.6 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1362, allocations: 18.06 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1363, allocations: 18.47 kB / 304.8 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.1363, allocations: 360.4 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.1363, allocations: 3.688 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.1363, allocations: 4.516 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.1364, allocations: 22.25 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1364, allocations: 0 / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.456e-05/0.1364, allocations: 67.38 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1364, allocations: 4.562 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1364, allocations: 2.188 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1365, allocations: 0.7031 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.1365, allocations: 11.55 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1365, allocations: 0.5938 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.1365, allocations: 6.094 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1365, allocations: 4.328 kB / 305.3 MB, free: 17.53 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.731e-05/0.1366, allocations: 111.5 kB / 305.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1366, allocations: 26.03 kB / 305.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.1367, allocations: 92.08 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1367, allocations: 4 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1367, allocations: 1.125 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1367, allocations: 0.5625 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1369, allocations: 281.9 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1369, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.1369, allocations: 10.3 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1369, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.1369, allocations: 5.547 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1369, allocations: 0.9688 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1369, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.32e-05/0.137, allocations: 165.1 kB / 305.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.137, allocations: 37.16 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1371, allocations: 2.281 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.1371, allocations: 3.312 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.1371, allocations: 3.625 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.1371, allocations: 1.281 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1373, allocations: 280.1 kB / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1373, allocations: 0 / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.1375, allocations: 23.17 kB / 306.3 MB, free: 16.99 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.0009448/0.1384, allocations: 0.4966 MB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.79e-05/0.1385, allocations: 26.39 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.1385, allocations: 4.5 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.1385, allocations: 15.28 kB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.1387, allocations: 33.25 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1392, allocations: 0.5718 MB / 307.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.1393, allocations: 119.9 kB / 307.5 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1393, allocations: 15.09 kB / 307.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1393, allocations: 58.17 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1393, allocations: 0 / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.003821/0.1431, allocations: 1.439 MB / 309.1 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.8890822250396013]