Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007438/0.0007438, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001836, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006557/0.0006557, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001713, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8709/0.8709, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/1.023, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1486/0.1486, allocations: 32.81 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02112/0.1697, allocations: 12.53 MB / 284.5 MB, free: 9.723 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.196e-05, allocations: 2.312 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002578/0.0026, allocations: 1.727 MB / 287.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.003402, allocations: 0.8302 MB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.003434, allocations: 0 / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.003602, allocations: 39.77 kB / 288.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.003732, allocations: 39.72 kB / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.003735, allocations: 0 / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003861, allocations: 27.86 kB / 288.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.003898, allocations: 11.97 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.003973, allocations: 19.92 kB / 288.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.003998, allocations: 4 kB / 288.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.004008, allocations: 0 / 288.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.00406, allocations: 11.98 kB / 288.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.004099, allocations: 15.94 kB / 288.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.004114, allocations: 11.94 kB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.004226, allocations: 59.64 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.004237, allocations: 0 / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004238, allocations: 0 / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.004247, allocations: 0 / 288.6 MB, free: 5.598 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002753/0.004522, allocations: 272.4 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.004553, allocations: 8.031 kB / 288.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.004577, allocations: 4.938 kB / 288.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.004703, allocations: 129.6 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.00471, allocations: 384 / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004721, allocations: 8.375 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.00483, allocations: 94.2 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.004836, allocations: 4.125 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.004842, allocations: 384 / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.004881, allocations: 20.36 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.818e-05/0.004909, allocations: 35.84 kB / 289.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.005263, allocations: 0.7678 MB / 290 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.005325, allocations: 169.1 kB / 290.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.005351, allocations: 88.17 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.005368, allocations: 75.28 kB / 290.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.005403, allocations: 113.8 kB / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.005404, allocations: 0 / 290.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.435e-05/0.005458, allocations: 33.69 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.005508, allocations: 130.7 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005608, allocations: 173.5 kB / 290.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.005615, allocations: 29.64 kB / 290.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.005675, allocations: 155.5 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.005679, allocations: 0 / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.005717, allocations: 45.64 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.005795, allocations: 318.8 kB / 291.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.00581, allocations: 15.92 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.005874, allocations: 136.4 kB / 291.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.005996, allocations: 187.7 kB / 291.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005999, allocations: 0 / 291.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001434/0.006142, allocations: 145.1 kB / 291.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006155, allocations: 4 kB / 291.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.006162, allocations: 4.625 kB / 291.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.006178, allocations: 8 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.006264, allocations: 43.92 kB / 291.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.006274, allocations: 15.92 kB / 291.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.006322, allocations: 23.84 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.006332, allocations: 8 kB / 291.9 MB, free: 2.062 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 7.726e-05/0.006409, allocations: 203.9 kB / 292.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.006458, allocations: 108.9 kB / 292.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.006501, allocations: 112.8 kB / 292.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.00655, allocations: 180.3 kB / 292.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/0.006599, allocations: 184.2 kB / 292.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/0.006646, allocations: 180.2 kB / 292.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.007287, allocations: 337.3 kB / 293.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.571e-05/0.007322, allocations: 109 kB / 293.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.007357, allocations: 101 kB / 293.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.007411, allocations: 116.9 kB / 293.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.689e-05/0.007468, allocations: 180.3 kB / 293.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.007529, allocations: 180.2 kB / 293.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-05/0.0076, allocations: 184.2 kB / 294 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.637e-05/0.007656, allocations: 176.3 kB / 294.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.007786, allocations: 315.9 kB / 294.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.007857, allocations: 180.2 kB / 294.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.007918, allocations: 109 kB / 294.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.007987, allocations: 188.2 kB / 294.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.008016, allocations: 101 kB / 295 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.008059, allocations: 42.5 kB / 295.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008059, allocations: 0 / 295.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000178/0.008237, allocations: 16 kB / 295.1 MB, free: 14.65 MB / 298.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 (0): * Single equations (assignments): 0 * 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.0005762/0.008813, allocations: 318.6 kB / 295.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.929e-05/0.008913, allocations: 65.3 kB / 295.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.008922, allocations: 8 kB / 295.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.008926, allocations: 3.938 kB / 295.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.009146, allocations: 481.1 kB / 295.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.009432, allocations: 240.9 kB / 296.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.009468, allocations: 59.84 kB / 296.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.732e-05/0.009536, allocations: 17.14 kB / 296.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.009578, allocations: 67.36 kB / 296.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009579, allocations: 0 / 296.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Templates: time 0.002237/0.01182, allocations: 0.564 MB / 296.9 MB, free: 12.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6221407670527697]