Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001398/0.001398, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.001522/0.001522, allocations: 164.8 kB / 23.95 MB, free: 4.168 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.615/1.615, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.225/0.225, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.95e-05, allocations: 6.281 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003142/0.003172, allocations: 1.661 MB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004241, allocations: 0.5297 MB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.004293, allocations: 0 / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006244/0.004917, allocations: 459 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.005409, allocations: 291.2 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.005745, allocations: 131.6 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.006036, allocations: 175.6 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006138, allocations: 11.98 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.0063, allocations: 115.8 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.006615, allocations: 243.6 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.00664, allocations: 4 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.006728, allocations: 31.92 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.00684, allocations: 87.7 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.006893, allocations: 35.75 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.007214, allocations: 243 kB / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007217, allocations: 0 / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007218, allocations: 0 / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007222, allocations: 0 / 446.7 MB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007509/0.007973, allocations: 0.5815 MB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.008013, allocations: 12.03 kB / 447.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.00808, allocations: 44.66 kB / 447.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.008364, allocations: 246 kB / 447.6 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.008376, allocations: 384 / 447.6 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.008396, allocations: 4.375 kB / 447.6 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.008548, allocations: 54.19 kB / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00856, allocations: 192 / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.008571, allocations: 4.125 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.008581, allocations: 4 kB / 447.6 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.008683, allocations: 27.97 kB / 447.6 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.009113, allocations: 320.4 kB / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1788/0.1879, allocations: 43.92 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.188, allocations: 18.66 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.188, allocations: 5.078 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.188, allocations: 35.88 kB / 448.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.188, allocations: 0 / 448.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006313/0.1886, allocations: 233 kB / 448.3 MB, free: 19.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.1887, allocations: 52.66 kB / 448.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.1895, allocations: 0.8569 MB / 449.2 MB, free: 19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.1895, allocations: 27.08 kB / 449.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1896, allocations: 218.6 kB / 449.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1896, allocations: 17.34 kB / 449.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1896, allocations: 21.86 kB / 449.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.1897, allocations: 361.8 kB / 449.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.1898, allocations: 18.7 kB / 449.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1898, allocations: 18.8 kB / 449.9 MB, free: 18.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.19, allocations: 45.64 kB / 449.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.19, allocations: 0.5 kB / 449.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/0.1902, allocations: 125.4 kB / 450 MB, free: 18.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1902, allocations: 5.25 kB / 450 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1902, allocations: 0 / 450 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1902, allocations: 1.656 kB / 450 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.1903, allocations: 14.41 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1903, allocations: 2.094 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.1903, allocations: 4.375 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1903, allocations: 1.312 kB / 450.1 MB, free: 18.35 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 (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 0.00015/0.1905, allocations: 219 kB / 450.3 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.1905, allocations: 42.73 kB / 450.3 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.1908, allocations: 141.8 kB / 450.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1908, allocations: 1.281 kB / 450.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1908, allocations: 3.812 kB / 450.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1908, allocations: 2.703 kB / 450.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1912, allocations: 398.7 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1912, allocations: 0 / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.1913, allocations: 13.03 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1913, allocations: 2.078 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1913, allocations: 0 / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1913, allocations: 3.375 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1913, allocations: 6.875 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1915, allocations: 213.6 kB / 451.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1915, allocations: 35.14 kB / 451.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1916, allocations: 0.6562 kB / 451.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.1917, allocations: 13.61 kB / 451.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1917, allocations: 6.188 kB / 451.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1917, allocations: 8.125 kB / 451.1 MB, free: 17.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005142/0.1922, allocations: 0.6498 MB / 451.8 MB, free: 17.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 0 / 451.8 MB, free: 17.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1925, allocations: 24.27 kB / 451.8 MB, free: 17.39 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 (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.001499/0.194, allocations: 432.4 kB / 452.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1942, allocations: 49.23 kB / 452.3 MB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1942, allocations: 0 / 452.3 MB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.1942, allocations: 23.25 kB / 452.3 MB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1946, allocations: 33.36 kB / 452.3 MB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.1955, allocations: 0.7929 MB / 453.1 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1957, allocations: 221.7 kB / 453.4 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.1957, allocations: 14.83 kB / 453.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.1958, allocations: 14.64 kB / 453.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1958, allocations: 0 / 453.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005555/0.2013, allocations: 1.34 MB / 454.7 MB, free: 16.53 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 5.024592041969299]