Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.0008433/0.0008433, allocations: 87.62 kB / 21.44 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.002996/0.002996, allocations: 160.8 kB / 24.7 MB, free: 9.426 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.8756/0.8756, 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.2556/0.2556, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.489e-05, allocations: 2.281 kB / 443.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.2016/0.2016, allocations: 1.719 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.203, allocations: 1.669 MB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2031, allocations: 6.844 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.2033, allocations: 33.67 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2036, allocations: 104.2 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.2037, allocations: 78.44 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2038, allocations: 116.2 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.2039, allocations: 5.891 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.2039, allocations: 59.81 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.204, allocations: 30.75 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.204, allocations: 9.719 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2041, allocations: 104 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2042, allocations: 24.58 kB / 447.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.2042, allocations: 25.89 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2044, allocations: 175.6 kB / 447.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.2044, allocations: 0 / 447.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2044, allocations: 0 / 447.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2044, allocations: 0 / 447.7 MB, free: 42.48 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.0003571/0.2048, allocations: 358.3 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2048, allocations: 8.688 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2048, allocations: 13.64 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.205, allocations: 151 kB / 448.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.205, allocations: 4.375 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.205, allocations: 7.234 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.2051, allocations: 100.5 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2052, allocations: 0 / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2052, allocations: 0 / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2052, allocations: 2.812 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.2052, allocations: 19.22 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.2054, allocations: 239.8 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.2055, allocations: 59.62 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.2056, allocations: 20.69 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2056, allocations: 0 / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.91e-05/0.2057, allocations: 71.8 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2057, allocations: 3.703 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000349/0.206, allocations: 175.9 kB / 448.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.206, allocations: 84.33 kB / 449 MB, free: 41.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.2061, allocations: 168.5 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.2061, allocations: 25.7 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.2062, allocations: 94.45 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2062, allocations: 32.11 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2062, allocations: 32.28 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.835e-05/0.2062, allocations: 324.9 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.2063, allocations: 23.05 kB / 449.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.2063, allocations: 68.67 kB / 449.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.128e-05/0.2064, allocations: 62.92 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2064, allocations: 3.031 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.96e-05/0.2065, allocations: 102.9 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2065, allocations: 6.781 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2065, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2065, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.2065, allocations: 21.58 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2065, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.2066, allocations: 10.78 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2066, allocations: 2.844 kB / 449.9 MB, free: 40.61 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 4.507e-05/0.2066, allocations: 124 kB / 450 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.2066, allocations: 13.61 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.2068, allocations: 123.8 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2068, allocations: 0 / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2068, allocations: 6.094 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2068, allocations: 0 / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.207, allocations: 346.5 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.207, allocations: 2.844 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.207, allocations: 11.75 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.207, allocations: 0 / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2071, allocations: 2.781 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2071, allocations: 5.531 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2071, allocations: 0 / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2072, allocations: 216.5 kB / 450.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.2072, allocations: 9.953 kB / 450.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2072, allocations: 6.875 kB / 450.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.2073, allocations: 2.938 kB / 450.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.2073, allocations: 13.83 kB / 450.8 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2073, allocations: 6.938 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.2074, allocations: 133.1 kB / 450.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2074, allocations: 0 / 450.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000192/0.2075, allocations: 48.39 kB / 451 MB, free: 39.83 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.0009263/0.2085, allocations: 0.5925 MB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2086, allocations: 61.39 kB / 451.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.2086, allocations: 0 / 451.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.2086, allocations: 37.16 kB / 451.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2088, allocations: 42.16 kB / 451.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.2091, allocations: 229.1 kB / 451.9 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.2092, allocations: 93.58 kB / 452 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.2092, allocations: 22.33 kB / 452 MB, free: 39.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2092, allocations: 0 / 452 MB, free: 39.32 MB / 410.7 MB Notification: Performance of Templates: time 0.002561/0.2118, allocations: 2.459 MB / 454.5 MB, free: 39.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.952187795192003]