Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001431/0.001431, allocations: 84.3 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001435/0.001435, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.194/0.194, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.824e-05, allocations: 5.375 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003278/0.003306, allocations: 1.964 MB / 442.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005267, allocations: 1.008 MB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.005358, allocations: 0 / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.00585, allocations: 259 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.00641, allocations: 262.9 kB / 443.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.007433, allocations: 0.4903 MB / 444.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.007862, allocations: 335.1 kB / 444.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.008011, allocations: 44.91 kB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.008237, allocations: 179.4 kB / 444.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.008509, allocations: 199.5 kB / 444.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.008542, allocations: 11.94 kB / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.008682, allocations: 79.84 kB / 444.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.008812, allocations: 87.67 kB / 445 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.008892, allocations: 59.72 kB / 445 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.009279, allocations: 310.8 kB / 445.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.009282, allocations: 0 / 445.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.009284, allocations: 3.938 kB / 445.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.009289, allocations: 0 / 445.4 MB, free: 2.875 MB / 366.1 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.0007391/0.01003, allocations: 0.5816 MB / 445.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.01007, allocations: 15.98 kB / 446 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.01015, allocations: 44.61 kB / 446 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.01051, allocations: 256 kB / 446.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.01053, allocations: 8.375 kB / 446.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.01057, allocations: 16.33 kB / 446.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.01083, allocations: 106.8 kB / 446.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01084, allocations: 4.125 kB / 446.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.01086, allocations: 12.11 kB / 446.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.01087, allocations: 4 kB / 446.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.01104, allocations: 75.89 kB / 446.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.01167, allocations: 404.1 kB / 446.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.01186, allocations: 86.48 kB / 446.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.01194, allocations: 37 kB / 447 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.01197, allocations: 4 kB / 447 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.01201, allocations: 34.55 kB / 447 MB, free: 1.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.01201, allocations: 0 / 447 MB, free: 1.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001006/0.01301, allocations: 404.6 kB / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01306, allocations: 51.41 kB / 447.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.01372, allocations: 0.5604 MB / 448 MB, free: 68 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.01374, allocations: 29.7 kB / 448.1 MB, free: 32 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1738/0.1875, allocations: 198.9 kB / 448.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.1876, allocations: 62.8 kB / 448.3 MB, free: 21.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.1877, allocations: 30.83 kB / 448.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1878, allocations: 354.9 kB / 448.7 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.188, allocations: 51.08 kB / 448.7 MB, free: 21.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1881, allocations: 52.67 kB / 448.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1883, allocations: 120.8 kB / 448.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1884, allocations: 1.25 kB / 448.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004138/0.1888, allocations: 196.8 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1888, allocations: 7.75 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1888, allocations: 0.7031 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1888, allocations: 1.219 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.189, allocations: 39.61 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.189, allocations: 1.219 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1891, allocations: 11.97 kB / 449.2 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1891, allocations: 12.92 kB / 449.2 MB, free: 21.15 MB / 366.1 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 0.0001796/0.1893, allocations: 168.8 kB / 449.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.1894, allocations: 40.58 kB / 449.4 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.1898, allocations: 238.6 kB / 449.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1898, allocations: 6.094 kB / 449.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1898, allocations: 1.219 kB / 449.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1898, allocations: 1.547 kB / 449.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.1905, allocations: 0.546 MB / 450.2 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1905, allocations: 0 / 450.2 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1907, allocations: 37.52 kB / 450.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1907, allocations: 3.781 kB / 450.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1907, allocations: 6.969 kB / 450.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1907, allocations: 3.531 kB / 450.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1907, allocations: 0.75 kB / 450.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.191, allocations: 298.1 kB / 450.5 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1911, allocations: 29.5 kB / 450.5 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1911, allocations: 6.281 kB / 450.5 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.1912, allocations: 9.469 kB / 450.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1912, allocations: 14.88 kB / 450.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1913, allocations: 4.875 kB / 450.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.1917, allocations: 423.6 kB / 451 MB, free: 20.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1917, allocations: 0 / 451 MB, free: 20.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.192, allocations: 48.58 kB / 451 MB, free: 20.14 MB / 366.1 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.002771/0.1948, allocations: 0.7541 MB / 451.8 MB, free: 19.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.1951, allocations: 131 kB / 451.9 MB, free: 19.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1951, allocations: 0 / 451.9 MB, free: 19.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1952, allocations: 69.41 kB / 452 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1958, allocations: 80.8 kB / 452.1 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1968, allocations: 0.6982 MB / 452.8 MB, free: 19.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.197, allocations: 211.2 kB / 453 MB, free: 19.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1971, allocations: 47.41 kB / 453 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.1972, allocations: 29.16 kB / 453 MB, free: 19.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1972, allocations: 0 / 453 MB, free: 19.34 MB / 366.1 MB Notification: Performance of Templates: time 0.007842/0.2051, allocations: 3.305 MB / 456.3 MB, free: 18.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6520142666995525]