Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001351/0.001351, 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.00157/0.00157, 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.9136/0.9136, allocations: 158.6 MB / 186 MB, free: 2.762 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.1212/0.1212, 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.CombiTable2Dv.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.511e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002/0.002015, allocations: 1.65 MB / 300.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.002501, allocations: 351.1 kB / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.002552, allocations: 0 / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.002794, allocations: 79.66 kB / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.002947, allocations: 55.8 kB / 301.2 MB, free: 56 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1294/0.1324, allocations: 145.7 kB / 301.3 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1326, allocations: 79.92 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1327, allocations: 15.11 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.1328, allocations: 49.84 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.1329, allocations: 45.88 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1329, allocations: 4.25 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.133, allocations: 29.98 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.133, allocations: 25.31 kB / 301.6 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.1331, allocations: 14.17 kB / 301.6 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1332, allocations: 88.28 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1333, allocations: 0 / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1333, allocations: 3.094 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1333, allocations: 0 / 301.7 MB, free: 19.28 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.0003643/0.1336, allocations: 309.5 kB / 302 MB, free: 19.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1337, allocations: 10.06 kB / 302 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1337, allocations: 7.609 kB / 302 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1338, allocations: 139.5 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.1338, allocations: 1.844 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1338, allocations: 2.469 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/0.1339, allocations: 63.92 kB / 302.2 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1339, allocations: 1.625 kB / 302.2 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1339, allocations: 1.219 kB / 302.2 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1339, allocations: 5.25 kB / 302.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.134, allocations: 7.391 kB / 302.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.1342, allocations: 184.1 kB / 302.4 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.1342, allocations: 26.67 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.1342, allocations: 13.2 kB / 302.4 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1342, allocations: 1.844 kB / 302.4 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.1343, allocations: 36.83 kB / 302.5 MB, free: 18.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1343, allocations: 0 / 302.5 MB, free: 18.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003125/0.1346, allocations: 112.3 kB / 302.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1346, allocations: 57.75 kB / 302.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1347, allocations: 172.8 kB / 302.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.1347, allocations: 29.77 kB / 302.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.1347, allocations: 90.47 kB / 302.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1348, allocations: 26.42 kB / 303 MB, free: 18.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1348, allocations: 18.88 kB / 303 MB, free: 18.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.1348, allocations: 327.7 kB / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1349, allocations: 5.359 kB / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.1349, allocations: 7.672 kB / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.1349, allocations: 27.55 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1349, allocations: 1.281 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.822e-05/0.135, allocations: 59.08 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.135, allocations: 9.25 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.135, allocations: 1.125 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.135, allocations: 0 / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.1351, allocations: 18.91 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1351, allocations: 2.578 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.1351, allocations: 6.375 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1351, allocations: 4.188 kB / 303.4 MB, free: 17.89 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.591e-05/0.1352, allocations: 113.9 kB / 303.5 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1352, allocations: 11.41 kB / 303.6 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1353, allocations: 78.2 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1353, allocations: 1.156 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1353, allocations: 0 / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1353, allocations: 1.844 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1355, allocations: 231 kB / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1355, allocations: 0 / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.1355, allocations: 18.27 kB / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1355, allocations: 1.094 kB / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1355, allocations: 0.6562 kB / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1355, allocations: 5.844 kB / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1355, allocations: 0 / 303.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.1356, allocations: 159.8 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.1356, allocations: 7.094 kB / 304 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.1356, allocations: 1.703 kB / 304.1 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.1356, allocations: 6.391 kB / 304.1 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1357, allocations: 14.31 kB / 304.1 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1357, allocations: 1.188 kB / 304.1 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.1357, allocations: 52.73 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1357, allocations: 0 / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.1359, allocations: 22.77 kB / 304.1 MB, free: 17.38 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.0009525/0.1368, allocations: 0.4915 MB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.1369, allocations: 34.31 kB / 304.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1369, allocations: 5.125 kB / 304.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.1369, allocations: 27.84 kB / 304.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1371, allocations: 20.31 kB / 304.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.1374, allocations: 223.5 kB / 304.9 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.1374, allocations: 69.91 kB / 305 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.1375, allocations: 15.05 kB / 305 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1375, allocations: 60.11 kB / 305.1 MB, free: 16.81 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1375, allocations: 0 / 305.1 MB, free: 16.81 MB / 282.7 MB Notification: Performance of Templates: time 0.003286/0.1408, allocations: 1.388 MB / 306.5 MB, free: 16.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.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.0737932259216905]