Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008942/0.0008942, 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.0009464/0.0009464, allocations: 169.3 kB / 24.14 MB, free: 360 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.9243/0.9243, 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.1826/0.1826, allocations: 32.38 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.603e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002343/0.002359, allocations: 1.639 MB / 300.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005279/0.002887, allocations: 355.1 kB / 301.1 MB, free: 204 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.002933, allocations: 4 kB / 301.1 MB, free: 200 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1232/0.1261, allocations: 449.1 kB / 301.5 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.1265, allocations: 255.7 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1268, allocations: 148.7 kB / 301.9 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1272, allocations: 169.8 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.1273, allocations: 11.98 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1275, allocations: 120.6 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1278, allocations: 191.4 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1278, allocations: 4.969 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.1279, allocations: 33.92 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.128, allocations: 81.7 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.128, allocations: 37.36 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1283, allocations: 199.3 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1283, allocations: 1.25 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1283, allocations: 0.8438 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1283, allocations: 0.9688 kB / 302.7 MB, free: 19.18 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.0004937/0.1288, allocations: 0.5368 MB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1288, allocations: 8.812 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.1289, allocations: 28.39 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.129, allocations: 242.1 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.129, allocations: 2.156 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1291, allocations: 7.25 kB / 303.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.1291, allocations: 58.23 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1292, allocations: 2.312 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.1292, allocations: 3.938 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1292, allocations: 3.391 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1292, allocations: 9.531 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.1295, allocations: 199.3 kB / 303.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1296, allocations: 37.39 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1296, allocations: 11.11 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1296, allocations: 1.922 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.1296, allocations: 36.36 kB / 303.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.1296, allocations: 0 / 303.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000278/0.1299, allocations: 97.16 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.1299, allocations: 52.47 kB / 304 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.1303, allocations: 0.5195 MB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1303, allocations: 27.91 kB / 304.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.1304, allocations: 142.8 kB / 304.7 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1304, allocations: 22.53 kB / 304.8 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1304, allocations: 15.02 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.1305, allocations: 356 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.1305, allocations: 4.578 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.1305, allocations: 7.594 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.1306, allocations: 29.22 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1306, allocations: 0 / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.223e-05/0.1306, allocations: 66.23 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1306, allocations: 4.5 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1307, allocations: 9.156 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1307, allocations: 0 / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.1307, allocations: 13.05 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.1307, allocations: 0.6094 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.1307, allocations: 3.375 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1307, allocations: 3.188 kB / 305.3 MB, free: 17.55 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.52e-05/0.1308, allocations: 115 kB / 305.4 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1308, allocations: 27.39 kB / 305.4 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.1309, allocations: 86.39 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1309, allocations: 1.906 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.131, allocations: 4 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.131, allocations: 1.188 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1312, allocations: 277 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1312, allocations: 0.75 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1312, allocations: 13.48 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1312, allocations: 0.75 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1312, allocations: 0 / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1312, allocations: 1.312 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1312, allocations: 0.5156 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.843e-05/0.1313, allocations: 162.4 kB / 305.9 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.1313, allocations: 39 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1314, allocations: 1.281 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.1314, allocations: 6.719 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1314, allocations: 3.344 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1314, allocations: 1.125 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002376/0.1317, allocations: 278.9 kB / 306.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1317, allocations: 0 / 306.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.1318, allocations: 24.02 kB / 306.3 MB, free: 17.01 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.001004/0.1328, allocations: 0.4982 MB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.271e-05/0.1329, allocations: 25.86 kB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.1329, allocations: 8.406 kB / 306.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.1329, allocations: 16.75 kB / 306.8 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.0001949/0.1331, allocations: 28.38 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.1337, allocations: 0.5706 MB / 307.4 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.1338, allocations: 120.6 kB / 307.5 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.1338, allocations: 9.719 kB / 307.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.1339, allocations: 63.7 kB / 307.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1339, allocations: 0 / 307.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of Templates: time 0.004141/0.138, allocations: 1.441 MB / 309.1 MB, free: 16.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.109945406205952]