Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008324/0.0008324, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0039/0.0039, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8986/0.8986, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2651/0.2651, allocations: 34.24 MB / 295.6 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.154e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.2021/0.2021, allocations: 1.673 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2032, allocations: 0.955 MB / 446.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.2033, allocations: 4.531 kB / 446.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.2036, allocations: 61.83 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.2039, allocations: 108.3 kB / 446.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.204, allocations: 79.55 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2042, allocations: 113.8 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.2042, allocations: 3.016 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.2043, allocations: 59.84 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.2044, allocations: 43.67 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2044, allocations: 2.656 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.651e-05/0.2045, allocations: 32.53 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.2045, allocations: 19.45 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2046, allocations: 23.7 kB / 446.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2047, allocations: 106.1 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2047, allocations: 2.031 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2047, allocations: 0 / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2047, allocations: 0 / 446.8 MB, free: 43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004249/0.2052, allocations: 337.3 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2052, allocations: 11.42 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.2053, allocations: 15.47 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.2055, allocations: 144.7 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2055, allocations: 3.344 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2055, allocations: 384 / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2056, allocations: 52.05 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2056, allocations: 6.328 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2056, allocations: 384 / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2056, allocations: 3.938 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.2057, allocations: 22.27 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.2058, allocations: 134.4 kB / 447.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2059, allocations: 51.05 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.2059, allocations: 20.48 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.206, allocations: 2.125 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.2061, allocations: 66.5 kB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2061, allocations: 3.938 kB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002146/0.2063, allocations: 100 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.2063, allocations: 55.34 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2064, allocations: 203.9 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.2064, allocations: 25.7 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.2065, allocations: 104.8 kB / 448.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2065, allocations: 21.89 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2065, allocations: 19.62 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.462e-05/0.2065, allocations: 320.9 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.2066, allocations: 15.78 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.2066, allocations: 28.45 kB / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.2067, allocations: 50.55 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2067, allocations: 0 / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.118e-05/0.2067, allocations: 90.91 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2067, allocations: 5.812 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2068, allocations: 0 / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2068, allocations: 5.625 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.2068, allocations: 18.67 kB / 448.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2068, allocations: 2.578 kB / 448.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.2069, allocations: 6.891 kB / 448.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2069, allocations: 4.031 kB / 448.7 MB, free: 41.39 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 (7): * Single equations (assignments): 7 * 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.442e-05/0.2069, allocations: 122 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2069, allocations: 9.453 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.207, allocations: 102.3 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2071, allocations: 0 / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2071, allocations: 3.938 kB / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2071, allocations: 0 / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.367e-05/0.2071, allocations: 132.7 kB / 449 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2071, allocations: 0 / 449 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.2071, allocations: 5.719 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2071, allocations: 4 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2072, allocations: 3.281 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2072, allocations: 6.125 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2072, allocations: 0 / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.2072, allocations: 125.2 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.2072, allocations: 9.375 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2073, allocations: 6.094 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.2073, allocations: 0 / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.2073, allocations: 14.05 kB / 449.2 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2073, allocations: 3 kB / 449.2 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.2074, allocations: 153.4 kB / 449.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2074, allocations: 0 / 449.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.2075, allocations: 22.72 kB / 449.4 MB, free: 40.87 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: 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 (6): * Single equations (assignments): 4 * 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.0006754/0.2082, allocations: 430.8 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2083, allocations: 41.45 kB / 449.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2083, allocations: 2.844 kB / 449.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.2084, allocations: 23.11 kB / 449.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.2085, allocations: 18.56 kB / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.2089, allocations: 247.2 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.2089, allocations: 89.94 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.2089, allocations: 17.36 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2089, allocations: 0 / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of Templates: time 0.002526/0.2115, allocations: 1.773 MB / 452 MB, free: 40.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.218273160979152]