Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0008299/0.0008299, 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.003623/0.003623, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8468/0.8468, allocations: 177.1 MB / 205 MB, free: 5.73 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.2378/0.2378, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.516e-05, allocations: 7.203 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1931/0.1931, allocations: 1.706 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1941, allocations: 0.9762 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.1942, allocations: 2.844 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1945, allocations: 79.28 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1948, allocations: 122.1 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1949, allocations: 82.25 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1951, allocations: 120.4 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1952, allocations: 9.875 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1953, allocations: 68.77 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.1954, allocations: 50.83 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1954, allocations: 7.266 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.1954, allocations: 45.56 kB / 446.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.1955, allocations: 34.05 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.1955, allocations: 17.75 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1957, allocations: 122.5 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1957, allocations: 2.875 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1957, allocations: 0 / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1957, allocations: 0 / 447 MB, free: 43.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004052/0.1961, allocations: 354.6 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1962, allocations: 8.219 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1962, allocations: 17.22 kB / 447.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1965, allocations: 165.7 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1965, allocations: 384 / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1965, allocations: 3.375 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1967, allocations: 57.64 kB / 447.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1967, allocations: 3.938 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1967, allocations: 0 / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1967, allocations: 2.562 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.1967, allocations: 21.92 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.1971, allocations: 232.6 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1972, allocations: 63.31 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1972, allocations: 24.05 kB / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1972, allocations: 0 / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.1974, allocations: 69.83 kB / 448 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.1974, allocations: 4 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004087/0.1978, allocations: 183.4 kB / 448.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.1978, allocations: 54.69 kB / 448.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1979, allocations: 215.6 kB / 448.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.1979, allocations: 32.52 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.198, allocations: 105.2 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.198, allocations: 33.92 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.198, allocations: 25.75 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.198, allocations: 325 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.1981, allocations: 24.64 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.1981, allocations: 40.72 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.1982, allocations: 65.97 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1982, allocations: 0 / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.342e-05/0.1983, allocations: 99.88 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1983, allocations: 7.406 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1983, allocations: 0 / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1983, allocations: 3.281 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.1984, allocations: 17.25 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1984, allocations: 4.031 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.1984, allocations: 9.922 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1984, allocations: 6.688 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.272e-05/0.1984, allocations: 130.6 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1985, allocations: 16.48 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1986, allocations: 126.6 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1986, allocations: 5.688 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1986, allocations: 0 / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1986, allocations: 0 / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1988, allocations: 360.9 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1988, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.1988, allocations: 11.72 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1988, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1989, allocations: 2.844 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1989, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1989, allocations: 2.812 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.199, allocations: 225.3 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.199, allocations: 6.766 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.199, allocations: 5.891 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.199, allocations: 4.031 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.199, allocations: 17.12 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1991, allocations: 2.906 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.593e-05/0.1991, allocations: 176.6 kB / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1991, allocations: 0 / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.1993, allocations: 28.59 kB / 450.3 MB, free: 40.46 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: 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 (9): * Single equations (assignments): 7 * 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.0007612/0.2, allocations: 495.8 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2002, allocations: 60.56 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.2002, allocations: 0 / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.2002, allocations: 30.06 kB / 450.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2004, allocations: 35.02 kB / 450.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.2007, allocations: 284.7 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.2008, allocations: 109 kB / 451.3 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.2008, allocations: 17.33 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2008, allocations: 0 / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002637/0.2034, allocations: 2.061 MB / 453.4 MB, free: 39.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.911913099698722]