Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.001002/0.001002, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001816/0.001816, allocations: 169 kB / 24.14 MB, free: 364 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.9589/0.9589, allocations: 158.6 MB / 186 MB, free: 2.77 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.1396/0.1396, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.455e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.00243/0.002455, allocations: 1.686 MB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.002895, allocations: 335.2 kB / 301.1 MB, free: 124 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.002937, allocations: 4 kB / 301.1 MB, free: 120 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1273/0.1302, allocations: 448.8 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1306, allocations: 250.2 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1309, allocations: 108.3 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.1312, allocations: 157.2 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1313, allocations: 15.62 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.1316, allocations: 117.3 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1319, allocations: 195.7 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1319, allocations: 2.906 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.132, allocations: 33.59 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1321, allocations: 85.17 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.1321, allocations: 35.45 kB / 302.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1324, allocations: 189.7 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1324, allocations: 1.656 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1324, allocations: 0 / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.1324, allocations: 1.125 kB / 302.7 MB, free: 19.18 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.0004992/0.1329, allocations: 0.5401 MB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.133, allocations: 10.19 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.133, allocations: 25.84 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1332, allocations: 239.9 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1332, allocations: 1.844 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1332, allocations: 7.5 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.1333, allocations: 56.95 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1333, allocations: 1.031 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1333, allocations: 9.344 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1334, allocations: 1.281 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.1334, allocations: 9.672 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.1336, allocations: 157.2 kB / 303.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1337, allocations: 32.69 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.1337, allocations: 7.141 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1337, allocations: 3.672 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1338, allocations: 41.45 kB / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1338, allocations: 0 / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003045/0.1341, allocations: 100.2 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.1341, allocations: 53.36 kB / 304 MB, free: 18.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.1345, allocations: 0.5181 MB / 304.5 MB, free: 18.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1345, allocations: 30.3 kB / 304.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.1346, allocations: 140.5 kB / 304.7 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1346, allocations: 21.42 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1346, allocations: 17.55 kB / 304.7 MB, free: 17.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.1347, allocations: 356 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.1347, allocations: 3.953 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.1347, allocations: 7.75 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.1348, allocations: 21.03 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1348, allocations: 0 / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.013e-05/0.1349, allocations: 65.77 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1349, allocations: 4.281 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1349, allocations: 6 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1349, allocations: 0.6562 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.1349, allocations: 14.48 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.1349, allocations: 5.891 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.135, allocations: 3.391 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.135, allocations: 4.844 kB / 305.2 MB, free: 17.55 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 (5): * Single equations (assignments): 5 * 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.573e-05/0.135, allocations: 111.6 kB / 305.3 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.1351, allocations: 25.22 kB / 305.4 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1352, allocations: 90.42 kB / 305.4 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1352, allocations: 1.062 kB / 305.4 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1352, allocations: 3.469 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1352, allocations: 1.125 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.1355, allocations: 266.2 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1355, allocations: 0 / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.1355, allocations: 14.11 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1355, allocations: 0.7031 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1355, allocations: 5.75 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1355, allocations: 0 / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1355, allocations: 2 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.1356, allocations: 163.2 kB / 305.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.1356, allocations: 34.69 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1356, allocations: 3.25 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.1357, allocations: 3.609 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1357, allocations: 6.844 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1357, allocations: 2.016 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.136, allocations: 279 kB / 306.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.136, allocations: 0 / 306.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.1361, allocations: 19.34 kB / 306.2 MB, free: 17.02 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 (5): * Single equations (assignments): 5 * 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.001085/0.1372, allocations: 0.4981 MB / 306.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.1373, allocations: 25.77 kB / 306.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.1373, allocations: 3.75 kB / 306.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.1373, allocations: 18.8 kB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1375, allocations: 26.86 kB / 306.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.1382, allocations: 0.5772 MB / 307.4 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.223e-05/0.1383, allocations: 117 kB / 307.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.1383, allocations: 18.14 kB / 307.5 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.1383, allocations: 58.8 kB / 307.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1383, allocations: 0 / 307.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of Templates: time 0.004546/0.1429, allocations: 1.416 MB / 309 MB, free: 16.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.9837367120198905]