Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0009559/0.0009559, 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.0009162/0.0009162, allocations: 173 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.8281/0.8281, allocations: 158.6 MB / 186 MB, free: 2.746 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.1477/0.1477, 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.661e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.738e-05, allocations: 6.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002161/0.002188, allocations: 1.65 MB / 300.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004954/0.002683, allocations: 351.1 kB / 301.1 MB, free: 188 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002734, allocations: 4 kB / 301.1 MB, free: 184 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.00298, allocations: 67.72 kB / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.003131, allocations: 51.75 kB / 301.2 MB, free: 64 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1336/0.1367, allocations: 151.6 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1369, allocations: 70.22 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.137, allocations: 17.16 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.1371, allocations: 42.03 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.1371, allocations: 33.03 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1372, allocations: 3.062 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.1372, allocations: 36.38 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1373, allocations: 27.39 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1373, allocations: 10.2 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1375, allocations: 81.83 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1375, allocations: 0.5625 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1375, allocations: 0.6875 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1375, allocations: 0 / 301.6 MB, free: 19.25 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.0002913/0.1378, allocations: 303.8 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1378, allocations: 10.61 kB / 302 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1378, allocations: 7.25 kB / 302 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1379, allocations: 139.6 kB / 302.1 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.138, allocations: 1.859 kB / 302.1 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.138, allocations: 4.906 kB / 302.1 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.1381, allocations: 63.78 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1381, allocations: 3.938 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.1381, allocations: 0 / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1381, allocations: 1.875 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.1381, allocations: 7.516 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.1383, allocations: 179.8 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1384, allocations: 32.17 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1384, allocations: 13.41 kB / 302.4 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1384, allocations: 5.766 kB / 302.4 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1384, allocations: 35.62 kB / 302.4 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1384, allocations: 0 / 302.4 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002767/0.1387, allocations: 109.4 kB / 302.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.1387, allocations: 56.19 kB / 302.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.1388, allocations: 157.8 kB / 302.8 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1388, allocations: 25.7 kB / 302.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.1388, allocations: 92.75 kB / 302.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1388, allocations: 22.83 kB / 302.9 MB, free: 18.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1389, allocations: 23.36 kB / 302.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.1389, allocations: 322.7 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.1389, allocations: 8.609 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.1389, allocations: 6.188 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.139, allocations: 28.78 kB / 303.3 MB, free: 17.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.139, allocations: 3.938 kB / 303.3 MB, free: 17.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.529e-05/0.139, allocations: 58.3 kB / 303.3 MB, free: 17.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.139, allocations: 5.594 kB / 303.3 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.139, allocations: 0.7969 kB / 303.3 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.139, allocations: 4.75 kB / 303.3 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.1391, allocations: 15.94 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1391, allocations: 3.828 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1391, allocations: 5.094 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1391, allocations: 1.812 kB / 303.4 MB, free: 17.87 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.754e-05/0.1392, allocations: 118.6 kB / 303.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.1392, allocations: 6.953 kB / 303.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.1393, allocations: 71.47 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1393, allocations: 2.938 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.1393, allocations: 1.375 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1393, allocations: 0 / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1394, allocations: 228.8 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1394, allocations: 4.766 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.1395, allocations: 15.98 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1395, allocations: 1.031 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1395, allocations: 7.625 kB / 303.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1395, allocations: 2.375 kB / 303.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1395, allocations: 0 / 303.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.288e-05/0.1395, allocations: 155.1 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.1396, allocations: 8.531 kB / 304 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1396, allocations: 0.5625 kB / 304 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.1396, allocations: 10.12 kB / 304 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1396, allocations: 7.969 kB / 304 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1396, allocations: 1.844 kB / 304 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.599e-05/0.1397, allocations: 46.02 kB / 304 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1397, allocations: 0 / 304 MB, free: 17.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.1398, allocations: 23.41 kB / 304.1 MB, free: 17.36 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.0009081/0.1407, allocations: 499 kB / 304.6 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.1408, allocations: 35.3 kB / 304.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1408, allocations: 1.594 kB / 304.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.1408, allocations: 23.62 kB / 304.6 MB, free: 17.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.141, allocations: 33.14 kB / 304.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.1413, allocations: 208.8 kB / 304.9 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.1413, allocations: 67.53 kB / 304.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.1413, allocations: 11.2 kB / 304.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1414, allocations: 62.77 kB / 305 MB, free: 16.8 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1414, allocations: 1.125 kB / 305 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Templates: time 0.003213/0.1446, allocations: 1.378 MB / 306.4 MB, free: 16.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.9046303872019053]