Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0007921/0.0007921, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003371/0.003371, allocations: 160.5 kB / 24.7 MB, free: 9.418 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.8659/0.8659, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2569/0.2569, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.081e-05, allocations: 6.281 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.1845/0.1846, allocations: 1.588 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.1853, allocations: 0.5322 MB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1853, allocations: 5.969 kB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1855, allocations: 21.38 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1857, allocations: 83.77 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1859, allocations: 117.4 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1861, allocations: 66.52 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.1862, allocations: 9.781 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.1862, allocations: 30.58 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.1863, allocations: 20.45 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1863, allocations: 2.906 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.1863, allocations: 32.28 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1864, allocations: 10.38 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1864, allocations: 20.61 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1865, allocations: 75.3 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1866, allocations: 2.125 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1866, allocations: 2.938 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1866, allocations: 0 / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003354/0.1869, allocations: 309.7 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1869, allocations: 11.12 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.187, allocations: 8.359 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1871, allocations: 135 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1871, allocations: 1.688 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1871, allocations: 7.906 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1872, allocations: 49.59 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1872, allocations: 192 / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1872, allocations: 10.5 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1872, allocations: 0 / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.1873, allocations: 22.52 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.1875, allocations: 228.7 kB / 446.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1877, allocations: 45.75 kB / 446.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.1877, allocations: 17.75 kB / 446.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1877, allocations: 4.781 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.1877, allocations: 37.34 kB / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1877, allocations: 0 / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003757/0.1881, allocations: 150.9 kB / 447.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1881, allocations: 58.91 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.1882, allocations: 153.9 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.1882, allocations: 25.7 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.1883, allocations: 92.89 kB / 447.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1883, allocations: 22.73 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.1883, allocations: 19.5 kB / 447.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.1883, allocations: 321 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1884, allocations: 21.89 kB / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.1884, allocations: 22.92 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.1885, allocations: 54.44 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1885, allocations: 4.656 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.409e-05/0.1886, allocations: 86.69 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1886, allocations: 5.812 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1886, allocations: 0 / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1886, allocations: 0 / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.1886, allocations: 18.84 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1886, allocations: 0 / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.1886, allocations: 10.02 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1887, allocations: 2.719 kB / 448 MB, free: 41.93 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 (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 4.277e-05/0.1887, allocations: 116.8 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1887, allocations: 10.77 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1889, allocations: 100.9 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1889, allocations: 0 / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1889, allocations: 3.938 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1889, allocations: 10.06 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1891, allocations: 297 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1891, allocations: 2.812 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1891, allocations: 12.03 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1891, allocations: 2.906 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1891, allocations: 0 / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1891, allocations: 0 / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1891, allocations: 0 / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.719e-05/0.1892, allocations: 192.8 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.1892, allocations: 9.531 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1892, allocations: 2.781 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.1893, allocations: 6.719 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1893, allocations: 3.188 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1893, allocations: 2.625 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.1893, allocations: 121 kB / 448.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1893, allocations: 0 / 448.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.1895, allocations: 18.12 kB / 448.9 MB, free: 41.23 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 (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.0006733/0.1902, allocations: 429.3 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1903, allocations: 51.56 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1903, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.1903, allocations: 26.72 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1906, allocations: 20.12 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.1909, allocations: 207 kB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.1909, allocations: 83.66 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.1909, allocations: 13.62 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1909, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of Templates: time 0.002104/0.1931, allocations: 1.505 MB / 451.2 MB, free: 40.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.696948032826185]