Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.0008156/0.0008156, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.0009202/0.0009202, allocations: 173 kB / 24.14 MB, free: 352 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.9649/0.9649, allocations: 158.6 MB / 186 MB, free: 2.719 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.1381/0.1381, allocations: 32.38 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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.236e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003562/0.003594, allocations: 1.647 MB / 300.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1321/0.1357, allocations: 1.067 MB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.1357, allocations: 1.406 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1359, allocations: 20.55 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1361, allocations: 51.23 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1363, allocations: 107.8 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1364, allocations: 67.11 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.1365, allocations: 12.17 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1366, allocations: 35.94 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1367, allocations: 24.56 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1367, allocations: 3.844 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.1368, allocations: 51.22 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1369, allocations: 15.62 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.1369, allocations: 16.53 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.137, allocations: 87.25 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.137, allocations: 0 / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.137, allocations: 0 / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.137, allocations: 1.25 kB / 302.3 MB, free: 19.22 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.0002909/0.1373, allocations: 289.6 kB / 302.6 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1374, allocations: 10.16 kB / 302.6 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1374, allocations: 6.875 kB / 302.6 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1375, allocations: 131.4 kB / 302.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1375, allocations: 5.344 kB / 302.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1375, allocations: 3.281 kB / 302.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1376, allocations: 102.4 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1377, allocations: 1.438 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1377, allocations: 8.438 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1377, allocations: 1.031 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.1377, allocations: 10.83 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1379, allocations: 160.1 kB / 303 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.1379, allocations: 35.36 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.1379, allocations: 12.94 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1379, allocations: 1.859 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.138, allocations: 36.16 kB / 303.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.138, allocations: 1.688 kB / 303.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002781/0.1382, allocations: 106.7 kB / 303.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.1383, allocations: 78.88 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.1383, allocations: 127.3 kB / 303.4 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.1383, allocations: 27.52 kB / 303.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.1384, allocations: 95.53 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1384, allocations: 24.55 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1384, allocations: 23.12 kB / 303.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.1384, allocations: 318.5 kB / 303.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.1385, allocations: 5.031 kB / 303.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.1385, allocations: 47.73 kB / 303.9 MB, free: 17.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.1385, allocations: 27.42 kB / 303.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1385, allocations: 0 / 303.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.224e-05/0.1386, allocations: 61.59 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1386, allocations: 5.781 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1386, allocations: 1.312 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1386, allocations: 6.188 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.1387, allocations: 18.92 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1387, allocations: 3.75 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.1387, allocations: 4.875 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1387, allocations: 1.875 kB / 304 MB, free: 17.7 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 4.192e-05/0.1387, allocations: 119.9 kB / 304.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1388, allocations: 9.656 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.1389, allocations: 60.39 kB / 304.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1389, allocations: 2.062 kB / 304.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1389, allocations: 0.75 kB / 304.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1389, allocations: 3.359 kB / 304.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.139, allocations: 226 kB / 304.4 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.139, allocations: 0.9688 kB / 304.4 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.1391, allocations: 14.86 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1391, allocations: 6.281 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.1391, allocations: 1.031 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1391, allocations: 1.062 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1391, allocations: 0 / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.001e-05/0.1392, allocations: 155.7 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.1392, allocations: 11.91 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1392, allocations: 1.969 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.1392, allocations: 5.156 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1392, allocations: 10.06 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1393, allocations: 5.094 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.1393, allocations: 23.97 kB / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1393, allocations: 0 / 304.7 MB, free: 17.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.1394, allocations: 27.47 kB / 304.7 MB, free: 17.2 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.001151/0.1406, allocations: 0.5541 MB / 305.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.1407, allocations: 37.41 kB / 305.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1407, allocations: 0 / 305.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.1407, allocations: 24.59 kB / 305.3 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.0001597/0.1409, allocations: 26.12 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.1412, allocations: 185.6 kB / 305.5 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.1412, allocations: 61.89 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.4e-05/0.1413, allocations: 13.86 kB / 305.6 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.1413, allocations: 71.09 kB / 305.7 MB, free: 16.59 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1413, allocations: 0 / 305.7 MB, free: 16.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003886/0.1452, allocations: 1.659 MB / 307.3 MB, free: 16.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.076537918765098]