Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.000966/0.000966, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004091/0.004091, allocations: 158.6 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9484/0.9484, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.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.2764/0.2764, allocations: 32.8 MB / 294.2 MB, free: 1.188 MB / 266.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.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.008e-05, allocations: 7.203 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002078/0.002108, allocations: 1.652 MB / 442.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003344, allocations: 1.281 MB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.003403, allocations: 0 / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003606, allocations: 27.72 kB / 443.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.003895, allocations: 91.55 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.004226, allocations: 183.1 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004367, allocations: 83.75 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.004459, allocations: 8 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.004519, allocations: 39.91 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.004607, allocations: 31.89 kB / 444.3 MB, free: 332 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.004621, allocations: 7.938 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.004754, allocations: 95.81 kB / 444.4 MB, free: 228 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.004814, allocations: 19.91 kB / 444.4 MB, free: 208 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.004845, allocations: 19.94 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.005058, allocations: 155.5 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00506, allocations: 7.938 kB / 444.6 MB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005061, allocations: 0 / 444.6 MB, free: 24 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.005066, allocations: 0 / 444.6 MB, free: 24 kB / 410.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.1828/0.1879, allocations: 331.6 kB / 444.9 MB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1879, allocations: 8.188 kB / 444.9 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.188, allocations: 10.27 kB / 444.9 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1882, allocations: 137.4 kB / 445 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1882, allocations: 8.125 kB / 445 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1882, allocations: 5.5 kB / 445 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1884, allocations: 99.75 kB / 445.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1884, allocations: 192 / 445.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1884, allocations: 6.188 kB / 445.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1884, allocations: 0.7188 kB / 445.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.1885, allocations: 42.3 kB / 445.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1888, allocations: 245.3 kB / 445.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1889, allocations: 47.94 kB / 445.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.189, allocations: 29.06 kB / 445.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.189, allocations: 3.625 kB / 445.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.189, allocations: 35.94 kB / 445.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.189, allocations: 2.344 kB / 445.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005252/0.1896, allocations: 237.3 kB / 445.8 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1896, allocations: 80.05 kB / 445.9 MB, free: 46.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.1897, allocations: 146.2 kB / 446 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.1897, allocations: 28.58 kB / 446 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.1897, allocations: 93.69 kB / 446.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1897, allocations: 27.41 kB / 446.1 MB, free: 45.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.1898, allocations: 24.22 kB / 446.2 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.1898, allocations: 318.8 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.1899, allocations: 44.69 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1899, allocations: 78.33 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.19, allocations: 90.84 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.19, allocations: 0 / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001459/0.1902, allocations: 133.8 kB / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1902, allocations: 5.469 kB / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1902, allocations: 0 / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1902, allocations: 0 / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1903, allocations: 27.39 kB / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1903, allocations: 5.656 kB / 446.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.1903, allocations: 9.062 kB / 446.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1903, allocations: 4.469 kB / 446.9 MB, free: 45.47 MB / 410.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 (7): * Single equations (assignments): 7 * 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 4.919e-05/0.1904, allocations: 119.6 kB / 447 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.1904, allocations: 10.61 kB / 447 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1906, allocations: 143.2 kB / 447.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1906, allocations: 0 / 447.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1906, allocations: 2.844 kB / 447.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1906, allocations: 0 / 447.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1909, allocations: 351 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1909, allocations: 0.75 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.1909, allocations: 25.48 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1909, allocations: 3.219 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1909, allocations: 0 / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1909, allocations: 3.938 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1909, allocations: 0 / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1911, allocations: 227.9 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.1911, allocations: 6.922 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1911, allocations: 4.734 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.1911, allocations: 17.06 kB / 447.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1912, allocations: 3 kB / 447.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1912, allocations: 6.266 kB / 447.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.1912, allocations: 114.2 kB / 447.9 MB, free: 44.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1912, allocations: 0 / 447.9 MB, free: 44.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.1914, allocations: 41.56 kB / 447.9 MB, free: 44.77 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0008338/0.1923, allocations: 0.5317 MB / 448.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1924, allocations: 90.12 kB / 448.5 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1924, allocations: 0 / 448.5 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.1925, allocations: 41.62 kB / 448.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1928, allocations: 27.23 kB / 448.6 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.1931, allocations: 249.1 kB / 448.9 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.64e-05/0.1932, allocations: 90.5 kB / 448.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.1932, allocations: 20.73 kB / 449 MB, free: 44.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1932, allocations: 3.828 kB / 449 MB, free: 44.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002717/0.196, allocations: 2.222 MB / 451.2 MB, free: 44.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.030789777636528]