Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0007879/0.0007879, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002061, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001077/0.001077, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002499, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8776/0.8776, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/1.008, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.1191/0.1191, allocations: 32.34 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01938/0.1385, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.709e-06/1.087e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001829/0.00184, allocations: 1.693 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.002783, allocations: 1.13 MB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.002831, allocations: 4 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.002945, allocations: 19.86 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.003051, allocations: 43.66 kB / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.003302, allocations: 163.6 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003427, allocations: 67.78 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.003504, allocations: 15.97 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.003587, allocations: 47.91 kB / 270.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.003663, allocations: 23.91 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003679, allocations: 4 kB / 270.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.003784, allocations: 55.84 kB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.003825, allocations: 11.94 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.003849, allocations: 11.94 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.00399, allocations: 87.67 kB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.004005, allocations: 4 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004006, allocations: 0 / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.004023, allocations: 0 / 270.8 MB, free: 15.14 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.0003529/0.004376, allocations: 304.1 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.004403, allocations: 8.031 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.004436, allocations: 12.94 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.00456, allocations: 121.7 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.004568, allocations: 8.375 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.004588, allocations: 4.359 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004705, allocations: 106.3 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.004714, allocations: 8.172 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004722, allocations: 4.125 kB / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004726, allocations: 0 / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004749, allocations: 12 kB / 271.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.004951, allocations: 175 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.005011, allocations: 30.56 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.005027, allocations: 8.859 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.005044, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.005065, allocations: 38.5 kB / 271.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.82e-07/0.005066, allocations: 4 kB / 271.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002792/0.005345, allocations: 109.6 kB / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.005369, allocations: 55.34 kB / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.005446, allocations: 126.7 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005455, allocations: 25.7 kB / 271.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.005484, allocations: 92.12 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.005506, allocations: 27.77 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.005531, allocations: 17.72 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.005602, allocations: 322.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.005613, allocations: 4 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.005643, allocations: 51.42 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.005678, allocations: 35.64 kB / 272.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005678, allocations: 0 / 272.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.877e-05/0.005737, allocations: 57.56 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.557e-06/0.005747, allocations: 7.938 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.00575, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.00576, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.005824, allocations: 19.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.005826, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.005848, allocations: 8 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005853, allocations: 4.031 kB / 272.5 MB, free: 13.19 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 5.73e-05/0.00591, allocations: 116.7 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.005929, allocations: 11.94 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.006014, allocations: 70.3 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-06/0.006015, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.006016, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.00602, allocations: 7.984 kB / 272.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.006198, allocations: 222.8 kB / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.0062, allocations: 0 / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.006241, allocations: 23.92 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.006247, allocations: 7.953 kB / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006249, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.006253, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006254, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006255, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.006332, allocations: 159.5 kB / 273.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.006341, allocations: 0 / 273.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.006375, allocations: 4 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.006402, allocations: 12.27 kB / 273.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006405, allocations: 0 / 273.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.259e-05/0.006428, allocations: 28.83 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006428, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.006563, allocations: 27.92 kB / 273.2 MB, free: 12.45 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.001179/0.007743, allocations: 0.6135 MB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.007832, allocations: 36.84 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.007838, allocations: 4 kB / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.007872, allocations: 21.08 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.008059, allocations: 95.17 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.008448, allocations: 184.1 kB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.008481, allocations: 63.34 kB / 274.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.008523, allocations: 19.92 kB / 274.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.008584, allocations: 67.3 kB / 274.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008585, allocations: 0 / 274.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of Templates: time 0.002997/0.01158, allocations: 1.706 MB / 276 MB, free: 9.566 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.641565361060202]