Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001033/0.001033, 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.001057/0.001057, 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.8489/0.8489, allocations: 158.6 MB / 186 MB, free: 2.773 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.1417/0.1417, 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.621e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002011/0.002027, allocations: 1.643 MB / 300.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1364/0.1385, allocations: 1.093 MB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.1385, allocations: 0.9688 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1388, allocations: 29.97 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.139, allocations: 47.34 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1393, allocations: 152.2 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1394, allocations: 67.34 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.1395, allocations: 15 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.1396, allocations: 34.44 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.1397, allocations: 23.84 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1397, allocations: 5.906 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1398, allocations: 53.2 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.1398, allocations: 21.61 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.1399, allocations: 17 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.14, allocations: 82.67 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.14, allocations: 1 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.14, allocations: 0.7812 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.14, allocations: 0 / 302.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003503/0.1404, allocations: 292.7 kB / 302.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1404, allocations: 9.5 kB / 302.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1404, allocations: 10.94 kB / 302.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1406, allocations: 132.2 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1406, allocations: 5.406 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1406, allocations: 4.562 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1407, allocations: 102.4 kB / 302.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1407, allocations: 0.8906 kB / 302.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1407, allocations: 6.844 kB / 302.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1407, allocations: 1.125 kB / 302.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.1408, allocations: 9.375 kB / 302.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.141, allocations: 176.5 kB / 303.1 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.141, allocations: 36.09 kB / 303.1 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.141, allocations: 9.062 kB / 303.1 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1411, allocations: 1.156 kB / 303.1 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1411, allocations: 37.42 kB / 303.2 MB, free: 18.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1411, allocations: 0.6562 kB / 303.2 MB, free: 18.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003161/0.1414, allocations: 106.6 kB / 303.3 MB, free: 18.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.1414, allocations: 78.52 kB / 303.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.1415, allocations: 138 kB / 303.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.1415, allocations: 30.8 kB / 303.5 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.1415, allocations: 91.39 kB / 303.6 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1415, allocations: 22.98 kB / 303.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1416, allocations: 19.97 kB / 303.6 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.1416, allocations: 321.7 kB / 304 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.1416, allocations: 4.891 kB / 304 MB, free: 17.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.1416, allocations: 47.34 kB / 304 MB, free: 17.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.1417, allocations: 31.53 kB / 304 MB, free: 17.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1417, allocations: 1.156 kB / 304 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.086e-05/0.1417, allocations: 60.39 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1418, allocations: 8.656 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1418, allocations: 1.734 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1418, allocations: 0 / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.1418, allocations: 16.84 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.1418, allocations: 0.6562 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.1419, allocations: 9.5 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1419, allocations: 1.25 kB / 304.1 MB, free: 17.71 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 3.851e-05/0.1419, allocations: 115.5 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1419, allocations: 14.97 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.142, allocations: 64.44 kB / 304.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.142, allocations: 1.781 kB / 304.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.142, allocations: 2.938 kB / 304.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.142, allocations: 0.6094 kB / 304.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.1422, allocations: 228.2 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1422, allocations: 0 / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.1423, allocations: 23.73 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1423, allocations: 0 / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1423, allocations: 2.281 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1423, allocations: 2.203 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1423, allocations: 1.078 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.468e-05/0.1424, allocations: 154.3 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.1424, allocations: 3 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1424, allocations: 1.531 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.1425, allocations: 8.75 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1425, allocations: 6.469 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1425, allocations: 5.016 kB / 304.8 MB, free: 17.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.674e-05/0.1425, allocations: 27.5 kB / 304.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 0 / 304.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.1427, allocations: 27.16 kB / 304.8 MB, free: 17.21 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.001242/0.144, allocations: 0.5624 MB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.1441, allocations: 33.27 kB / 305.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1441, allocations: 1.125 kB / 305.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.1441, allocations: 21.66 kB / 305.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.1443, allocations: 25.86 kB / 305.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.1446, allocations: 186.8 kB / 305.6 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.1446, allocations: 64.41 kB / 305.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.1447, allocations: 16.48 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.1447, allocations: 65.56 kB / 305.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1447, allocations: 0 / 305.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003845/0.1486, allocations: 1.689 MB / 307.5 MB, free: 16.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.0407341280952096]