Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001123/0.001123, allocations: 80.05 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.001099/0.001099, 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.9441/0.9441, allocations: 158.6 MB / 186 MB, free: 2.754 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.1371/0.1371, 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.359e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00275/0.002774, allocations: 1.938 MB / 301 MB, free: 244 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1469/0.1497, allocations: 0.7683 MB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1498, allocations: 6.156 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.1505, allocations: 268.9 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.1509, allocations: 198.8 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.152, allocations: 0.5813 MB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.1524, allocations: 315.8 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1526, allocations: 48.89 kB / 303.2 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.1528, allocations: 164.8 kB / 303.3 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1531, allocations: 175.4 kB / 303.5 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.1531, allocations: 10.88 kB / 303.5 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1533, allocations: 69.31 kB / 303.6 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1534, allocations: 97.69 kB / 303.7 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.1534, allocations: 52.08 kB / 303.7 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.1538, allocations: 244.6 kB / 304 MB, free: 18.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1538, allocations: 3.438 kB / 304 MB, free: 18.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1538, allocations: 1.656 kB / 304 MB, free: 18.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1538, allocations: 0 / 304 MB, free: 18.96 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005649/0.1544, allocations: 0.5335 MB / 304.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1544, allocations: 10.38 kB / 304.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.1545, allocations: 30.95 kB / 304.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1547, allocations: 248.1 kB / 304.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1547, allocations: 8.938 kB / 304.8 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1547, allocations: 11.72 kB / 304.8 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1549, allocations: 92.19 kB / 304.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1549, allocations: 10.02 kB / 304.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1549, allocations: 5.844 kB / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1549, allocations: 8.125 kB / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.155, allocations: 28.41 kB / 305 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1554, allocations: 277.5 kB / 305.2 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1555, allocations: 63.91 kB / 305.3 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.1555, allocations: 19.83 kB / 305.3 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1556, allocations: 3.859 kB / 305.3 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1556, allocations: 38.55 kB / 305.4 MB, free: 18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1556, allocations: 0 / 305.4 MB, free: 18 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000528/0.1561, allocations: 202.8 kB / 305.6 MB, free: 17.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1561, allocations: 62.72 kB / 305.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.1565, allocations: 375.8 kB / 306 MB, free: 17.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1565, allocations: 29.7 kB / 306 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.1566, allocations: 142.9 kB / 306.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.1566, allocations: 57.61 kB / 306.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1567, allocations: 38.12 kB / 306.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.1567, allocations: 352.1 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.1568, allocations: 14.69 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.1568, allocations: 16.95 kB / 306.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.1569, allocations: 69.17 kB / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1569, allocations: 0 / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001609/0.157, allocations: 101.5 kB / 306.8 MB, free: 17.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1571, allocations: 5.625 kB / 306.8 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1571, allocations: 0.5156 kB / 306.8 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1571, allocations: 5.25 kB / 306.8 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1572, allocations: 37.33 kB / 306.8 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1572, allocations: 0.5469 kB / 306.8 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.1572, allocations: 13.3 kB / 306.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1572, allocations: 1.703 kB / 306.8 MB, free: 17.05 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 (17): * Single equations (assignments): 17 * 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 6.757e-05/0.1573, allocations: 116.9 kB / 307 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1573, allocations: 26.25 kB / 307 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1576, allocations: 148 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1576, allocations: 2.453 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1576, allocations: 12.41 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1576, allocations: 0.7969 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.158, allocations: 359.7 kB / 307.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.158, allocations: 1.031 kB / 307.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.1581, allocations: 26.75 kB / 307.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1581, allocations: 4.938 kB / 307.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1581, allocations: 9.656 kB / 307.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1581, allocations: 1.516 kB / 307.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1581, allocations: 1.125 kB / 307.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1583, allocations: 194 kB / 307.7 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.1583, allocations: 33.62 kB / 307.8 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1583, allocations: 6.344 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.1584, allocations: 2 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.1584, allocations: 14.77 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1584, allocations: 3.594 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.1586, allocations: 176.6 kB / 308 MB, free: 16.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1586, allocations: 0 / 308 MB, free: 16.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000232/0.1588, allocations: 53.44 kB / 308 MB, free: 16.37 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 (17): * Single equations (assignments): 17 * 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.00192/0.1607, allocations: 0.9166 MB / 308.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1609, allocations: 66.81 kB / 309 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.1609, allocations: 3.75 kB / 309 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.161, allocations: 47.17 kB / 309 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1613, allocations: 75.83 kB / 309.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007109/0.162, allocations: 0.5637 MB / 309.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.894e-05/0.1621, allocations: 122.8 kB / 309.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1622, allocations: 46.39 kB / 309.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1623, allocations: 91.2 kB / 309.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1623, allocations: 0 / 309.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.007141/0.1694, allocations: 3.65 MB / 313.6 MB, free: 14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.039075721986592]