Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001101/0.001101, 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.005384/0.005384, allocations: 160.2 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.8735/0.8735, allocations: 177.1 MB / 205 MB, free: 5.719 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.2391/0.2391, 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.069e-05, allocations: 6.219 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.1979/0.1979, allocations: 1.783 MB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1995, allocations: 1.735 MB / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1996, allocations: 0 / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1998, allocations: 55.92 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.2002, allocations: 147.4 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.2003, allocations: 108.7 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2005, allocations: 213.6 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2005, allocations: 7.125 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2006, allocations: 109.2 kB / 447.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2008, allocations: 70.36 kB / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2008, allocations: 8.281 kB / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2009, allocations: 106.5 kB / 447.8 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.2009, allocations: 41.05 kB / 447.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.201, allocations: 36.55 kB / 447.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2012, allocations: 235.9 kB / 448.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2012, allocations: 0 / 448.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2012, allocations: 0.7188 kB / 448.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2012, allocations: 0 / 448.2 MB, free: 42.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004246/0.2016, allocations: 429.5 kB / 448.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2017, allocations: 10.78 kB / 448.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.2017, allocations: 23.95 kB / 448.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2019, allocations: 189.1 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2019, allocations: 384 / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2019, allocations: 10.17 kB / 448.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2021, allocations: 163.9 kB / 449 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2021, allocations: 7.719 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2021, allocations: 0 / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2021, allocations: 3.062 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.2022, allocations: 32.14 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.2023, allocations: 154.3 kB / 449.2 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2024, allocations: 106.9 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.2025, allocations: 37.06 kB / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2025, allocations: 2.969 kB / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.2026, allocations: 116.4 kB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.2026, allocations: 6.812 kB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002554/0.2029, allocations: 177 kB / 449.6 MB, free: 41.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2029, allocations: 135.6 kB / 449.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2031, allocations: 248.6 kB / 450 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.2031, allocations: 32.45 kB / 450 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.2031, allocations: 113.1 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2031, allocations: 32.66 kB / 450.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.2032, allocations: 32.38 kB / 450.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.2032, allocations: 325 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.2032, allocations: 35.42 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/0.2033, allocations: 121.6 kB / 450.6 MB, free: 40.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.2034, allocations: 95.59 kB / 450.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2034, allocations: 0 / 450.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001367/0.2035, allocations: 152.4 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2035, allocations: 7.5 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2035, allocations: 8.031 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2035, allocations: 2.906 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.2036, allocations: 20.58 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2036, allocations: 2.906 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.2037, allocations: 9.688 kB / 450.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2037, allocations: 6.141 kB / 450.9 MB, free: 40.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 5.818e-05/0.2037, allocations: 132.4 kB / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.2037, allocations: 22.12 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.2039, allocations: 172.5 kB / 451.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2039, allocations: 6.688 kB / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2039, allocations: 0 / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2039, allocations: 3 kB / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.204, allocations: 155.9 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.204, allocations: 3.234 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.204, allocations: 11.25 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.204, allocations: 0 / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.204, allocations: 2.844 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.204, allocations: 7.75 kB / 451.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.204, allocations: 3.234 kB / 451.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2042, allocations: 187.9 kB / 451.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.2042, allocations: 20.88 kB / 451.7 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2042, allocations: 2.906 kB / 451.7 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.2043, allocations: 14.23 kB / 451.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2043, allocations: 10.69 kB / 451.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2043, allocations: 5.656 kB / 451.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.2044, allocations: 182.3 kB / 451.9 MB, free: 39.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2044, allocations: 0 / 451.9 MB, free: 39.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.2046, allocations: 56.17 kB / 451.9 MB, free: 39.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007696/0.2053, allocations: 0.5409 MB / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2055, allocations: 86.39 kB / 452.5 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2055, allocations: 0 / 452.5 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.2055, allocations: 44.75 kB / 452.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2057, allocations: 54.3 kB / 452.6 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.2061, allocations: 324.6 kB / 453 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.2062, allocations: 116.3 kB / 453.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.2062, allocations: 26.28 kB / 453.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2062, allocations: 3.938 kB / 453.1 MB, free: 38.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002973/0.2092, allocations: 3.263 MB / 456.4 MB, free: 38.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.8149402271956205]