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.001519/0.001519, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001751/0.001751, allocations: 173 kB / 24.06 MB, free: 452 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.9432/0.9432, allocations: 158.6 MB / 186 MB, free: 2.414 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.1415/0.1415, allocations: 32.36 MB / 270.7 MB, free: 14.52 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.543e-06/1.543e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.831e-05, allocations: 4.281 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002187/0.002205, allocations: 1.634 MB / 349.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.002951, allocations: 1.091 MB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.003012, allocations: 0 / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.00321, allocations: 23.8 kB / 350.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.00336, allocations: 47.7 kB / 350.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.003575, allocations: 147.6 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.003682, allocations: 75.77 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.003773, allocations: 11.98 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.003825, allocations: 35.91 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.003907, allocations: 23.91 kB / 351.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.003921, allocations: 4 kB / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.003996, allocations: 47.92 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.004042, allocations: 23.91 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.004063, allocations: 15.92 kB / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.00419, allocations: 87.66 kB / 351.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.004191, allocations: 4 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004192, allocations: 4 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.004196, allocations: 0 / 351.4 MB, free: 5.867 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.0002813/0.004477, allocations: 416.1 kB / 351.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.00451, allocations: 8.031 kB / 351.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.004536, allocations: 12.83 kB / 351.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.00463, allocations: 132.5 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.004639, allocations: 4.359 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.004655, allocations: 8.359 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.004757, allocations: 100 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004765, allocations: 192 / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004771, allocations: 8.125 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004778, allocations: 7.984 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.004799, allocations: 8 kB / 352.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.004982, allocations: 264.2 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.005029, allocations: 47.11 kB / 352.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.005042, allocations: 7.688 kB / 352.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.005061, allocations: 7.938 kB / 352.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.005077, allocations: 41.33 kB / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005078, allocations: 0 / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002469/0.005325, allocations: 109.6 kB / 352.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.498e-05/0.00534, allocations: 77.11 kB / 352.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.005399, allocations: 196 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-06/0.005403, allocations: 25.7 kB / 352.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.005433, allocations: 150.8 kB / 353 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.005449, allocations: 15.8 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.005475, allocations: 35.34 kB / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.005521, allocations: 0.4884 MB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.005533, allocations: 7.984 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.005556, allocations: 53.14 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.005585, allocations: 35.69 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.005586, allocations: 0 / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.274e-05/0.005638, allocations: 65.53 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.005648, allocations: 11.98 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005652, allocations: 0 / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.005665, allocations: 0 / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.005719, allocations: 16 kB / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.005722, allocations: 0 / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.005742, allocations: 7.984 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.005747, allocations: 4.281 kB / 353.7 MB, free: 3.301 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.545e-05/0.005782, allocations: 160.5 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.005799, allocations: 15.89 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.005879, allocations: 78.03 kB / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005881, allocations: 0 / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005882, allocations: 0 / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005885, allocations: 0 / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.006035, allocations: 314 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006036, allocations: 0 / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.006067, allocations: 15.98 kB / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006068, allocations: 0 / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.006072, allocations: 7.938 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006073, allocations: 4 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006074, allocations: 0 / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.623e-05/0.00614, allocations: 216.2 kB / 354.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.006146, allocations: 7.953 kB / 354.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.006155, allocations: 0 / 354.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.006188, allocations: 7.984 kB / 354.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.006214, allocations: 15.98 kB / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.006216, allocations: 0 / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.453e-05/0.006241, allocations: 139.2 kB / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006241, allocations: 4 kB / 354.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.006386, allocations: 23.94 kB / 354.7 MB, free: 2.246 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.000741/0.007127, allocations: 433.6 kB / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.671e-05/0.007204, allocations: 39.67 kB / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007205, allocations: 0 / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.007226, allocations: 27.61 kB / 355.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.007398, allocations: 23.83 kB / 355.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.007622, allocations: 190.8 kB / 355.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.188e-05/0.007644, allocations: 67.34 kB / 355.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.007677, allocations: 16.28 kB / 355.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.007728, allocations: 90.19 kB / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007728, allocations: 0 / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Templates: time 0.002694/0.01042, allocations: 1.776 MB / 357.4 MB, free: 15.63 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.18114173412323]