Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008897/0.0008897, allocations: 87.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.005696/0.005696, allocations: 164.1 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.9401/0.9401, allocations: 177.1 MB / 205 MB, free: 5.746 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.29/0.29, allocations: 32.8 MB / 294.2 MB, free: 1.227 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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.684e-05, allocations: 6.281 kB / 440.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002483/0.002509, allocations: 1.902 MB / 442.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.003939, allocations: 1.017 MB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.004039, allocations: 0 / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.004341, allocations: 47.64 kB / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.004616, allocations: 99.42 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004789, allocations: 95.58 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.004974, allocations: 147.5 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005085, allocations: 21.8 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.005187, allocations: 83.73 kB / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.005271, allocations: 35.83 kB / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005289, allocations: 8 kB / 444.4 MB, free: 216 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.005379, allocations: 47.92 kB / 444.4 MB, free: 168 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005441, allocations: 31.84 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.005488, allocations: 27.92 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1811/0.1866, allocations: 154.8 kB / 444.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1866, allocations: 0 / 444.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1866, allocations: 0 / 444.6 MB, free: 44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.1866, allocations: 0 / 444.6 MB, free: 44 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005455/0.1872, allocations: 413.6 kB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1872, allocations: 8.656 kB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1873, allocations: 16.88 kB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1875, allocations: 176.2 kB / 445.2 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1875, allocations: 5.5 kB / 445.2 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1876, allocations: 5.25 kB / 445.2 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1877, allocations: 139 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1877, allocations: 5.531 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1878, allocations: 9.281 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1878, allocations: 2.781 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.1879, allocations: 53.08 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1882, allocations: 453 kB / 445.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1884, allocations: 86.22 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1885, allocations: 40.08 kB / 446 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1885, allocations: 0 / 446 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.1886, allocations: 110 kB / 446.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1886, allocations: 0 / 446.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002456/0.1889, allocations: 150.6 kB / 446.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1889, allocations: 54.5 kB / 446.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.189, allocations: 200.2 kB / 446.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.189, allocations: 32.05 kB / 446.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.1891, allocations: 116.7 kB / 446.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1891, allocations: 38.12 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1891, allocations: 28.38 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.1892, allocations: 330.3 kB / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.1892, allocations: 32.16 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.1893, allocations: 62.75 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.843e-05/0.1894, allocations: 107.9 kB / 447.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1894, allocations: 0.625 kB / 447.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001506/0.1895, allocations: 138 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1896, allocations: 7.188 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1896, allocations: 2.938 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1896, allocations: 3.188 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.1896, allocations: 27.38 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1896, allocations: 3.875 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.1897, allocations: 13.38 kB / 447.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1897, allocations: 5.656 kB / 447.4 MB, free: 42.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.614e-05/0.1898, allocations: 131 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.1898, allocations: 19.72 kB / 447.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1899, allocations: 135.7 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.19, allocations: 2.406 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.19, allocations: 0 / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.19, allocations: 3.188 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.19, allocations: 153.8 kB / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.19, allocations: 0 / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.1901, allocations: 13.92 kB / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1901, allocations: 0 / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1901, allocations: 5.938 kB / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1901, allocations: 0 / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1901, allocations: 0 / 447.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1903, allocations: 195.2 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1903, allocations: 22 kB / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1903, allocations: 0 / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.1904, allocations: 15.14 kB / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1904, allocations: 6.375 kB / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1904, allocations: 7.031 kB / 448.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.1905, allocations: 153.9 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1905, allocations: 0 / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.1906, allocations: 27.27 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007175/0.1914, allocations: 447 kB / 448.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1915, allocations: 82.53 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1915, allocations: 0 / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.1916, allocations: 37.81 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1918, allocations: 35.55 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.1922, allocations: 294.5 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.1923, allocations: 103 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1923, allocations: 22.59 kB / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1923, allocations: 0 / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of Templates: time 0.002675/0.195, allocations: 2.262 MB / 451.6 MB, free: 41.06 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.314338454045355]