Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0007566/0.0007566, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.003191/0.003191, allocations: 158.3 kB / 24.7 MB, free: 9.43 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.8664/0.8664, allocations: 177.1 MB / 205 MB, free: 5.723 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.2566/0.2566, 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 443.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.659e-05, allocations: 7.484 kB / 443.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.1993/0.1993, allocations: 1.73 MB / 445.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2004, allocations: 0.9754 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.2005, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.2008, allocations: 95.11 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.2011, allocations: 121.5 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.2012, allocations: 88.48 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2014, allocations: 127.4 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2015, allocations: 13.3 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.2016, allocations: 62.69 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.2016, allocations: 64.83 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2017, allocations: 5.875 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.2017, allocations: 65.39 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.2018, allocations: 23.41 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.2018, allocations: 29.95 kB / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.202, allocations: 140.4 kB / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.202, allocations: 0 / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.202, allocations: 0.5625 kB / 447.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.202, allocations: 0 / 447.1 MB, free: 42.98 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.0004322/0.2025, allocations: 370.3 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2025, allocations: 8.594 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.2026, allocations: 18.22 kB / 447.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.2028, allocations: 150.9 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2028, allocations: 6.938 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.2028, allocations: 7.344 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2029, allocations: 62.95 kB / 447.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2029, allocations: 3.938 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.203, allocations: 3.031 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.203, allocations: 0 / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.203, allocations: 26.33 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.2033, allocations: 248 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.2035, allocations: 73.89 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.2035, allocations: 21 kB / 448 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2035, allocations: 0 / 448 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.2036, allocations: 70.34 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2036, allocations: 0 / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.2042, allocations: 251.6 kB / 448.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2042, allocations: 51.41 kB / 448.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2044, allocations: 236.2 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2044, allocations: 32.36 kB / 448.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.2044, allocations: 108.6 kB / 448.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2044, allocations: 37.52 kB / 448.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.2045, allocations: 26.55 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.2045, allocations: 338.3 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.2046, allocations: 33.39 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.2046, allocations: 43.97 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.2047, allocations: 86.06 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2047, allocations: 0 / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001305/0.2048, allocations: 129.7 kB / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2048, allocations: 7.562 kB / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2048, allocations: 1.75 kB / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2049, allocations: 0 / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.2049, allocations: 24.77 kB / 449.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2049, allocations: 6.812 kB / 449.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.2049, allocations: 2.969 kB / 449.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.205, allocations: 6.906 kB / 449.5 MB, free: 41.11 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 (13): * Single equations (assignments): 13 * 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.312e-05/0.205, allocations: 134.5 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.205, allocations: 19.47 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.2052, allocations: 154.9 kB / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2052, allocations: 5.922 kB / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2052, allocations: 3.281 kB / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2052, allocations: 0 / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2055, allocations: 404.1 kB / 450.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2055, allocations: 6.938 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.2055, allocations: 21.77 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2055, allocations: 6.031 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2056, allocations: 0 / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2056, allocations: 3.062 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2056, allocations: 3.938 kB / 450.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2057, allocations: 248.8 kB / 450.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.2057, allocations: 13.36 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2057, allocations: 2.75 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.2058, allocations: 6.656 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2058, allocations: 23.33 kB / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2058, allocations: 2.969 kB / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.363e-05/0.2059, allocations: 179.7 kB / 450.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2059, allocations: 0 / 450.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.2061, allocations: 30.72 kB / 450.7 MB, free: 40.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.000893/0.207, allocations: 0.5426 MB / 451.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.2071, allocations: 79.94 kB / 451.4 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2071, allocations: 4.062 kB / 451.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.2071, allocations: 38.08 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.2074, allocations: 33.05 kB / 451.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.2078, allocations: 330.8 kB / 451.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.2078, allocations: 104.5 kB / 451.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.2079, allocations: 20.66 kB / 451.9 MB, free: 39.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2079, allocations: 4 kB / 451.9 MB, free: 39.7 MB / 410.7 MB Notification: Performance of Templates: time 0.00337/0.2112, allocations: 2.325 MB / 454.2 MB, free: 39.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.929845685139298]