Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008135/0.0008135, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003568/0.003568, allocations: 154.3 kB / 24.69 MB, free: 8.914 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.8807/0.8807, allocations: 177 MB / 204.9 MB, free: 5.746 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.2333/0.2333, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.574e-06, allocations: 0 / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/3.427e-05, allocations: 8.75 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.1987/0.1988, allocations: 1.708 MB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1999, allocations: 0.9793 MB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.1999, allocations: 2.875 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.2002, allocations: 42.05 kB / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.2005, allocations: 95.95 kB / 446.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.2006, allocations: 80.64 kB / 446.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2007, allocations: 109.8 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2009, allocations: 9.078 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.2009, allocations: 55.36 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.201, allocations: 30.16 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.201, allocations: 2.969 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-05/0.2011, allocations: 46.45 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.2012, allocations: 23.33 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2012, allocations: 20.53 kB / 446.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2014, allocations: 118.5 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2014, allocations: 0 / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2014, allocations: 0 / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2014, allocations: 0 / 446.8 MB, free: 42.88 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.0004195/0.2018, allocations: 352.8 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2018, allocations: 8.812 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.2019, allocations: 10.61 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2021, allocations: 163.9 kB / 447.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2021, allocations: 3.312 kB / 447.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.2021, allocations: 384 / 447.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2022, allocations: 58.72 kB / 447.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2023, allocations: 4.125 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2023, allocations: 2.016 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2023, allocations: 7.438 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.2023, allocations: 17.19 kB / 447.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.2026, allocations: 231.6 kB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2027, allocations: 61.06 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.2027, allocations: 20.5 kB / 447.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2027, allocations: 0 / 447.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.2028, allocations: 79.03 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.21e-07/0.2028, allocations: 0 / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003992/0.2032, allocations: 191.2 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.2033, allocations: 51.41 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2034, allocations: 211 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.2034, allocations: 32.77 kB / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.2034, allocations: 105.2 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2035, allocations: 26 kB / 448.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.2035, allocations: 26.91 kB / 448.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.2035, allocations: 326.6 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.2036, allocations: 27 kB / 448.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.2036, allocations: 38.59 kB / 448.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.664e-05/0.2037, allocations: 62.92 kB / 448.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2037, allocations: 0 / 448.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.2038, allocations: 111.9 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2038, allocations: 5.406 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2038, allocations: 0 / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2038, allocations: 0 / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.2039, allocations: 21.08 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2039, allocations: 3 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.2039, allocations: 4 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2039, allocations: 2.812 kB / 449 MB, free: 41.09 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.857e-05/0.204, allocations: 135.8 kB / 449.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.204, allocations: 13.73 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.2041, allocations: 121.4 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2041, allocations: 2.25 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2041, allocations: 2.75 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2041, allocations: 0 / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2044, allocations: 360.6 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2044, allocations: 0 / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.2044, allocations: 12.25 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2044, allocations: 0.5625 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2044, allocations: 6.875 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2044, allocations: 0 / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2044, allocations: 1.641 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.2045, allocations: 219.7 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.2045, allocations: 6.766 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2046, allocations: 10.3 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.2046, allocations: 2.938 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.2046, allocations: 10.16 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2046, allocations: 6.5 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.2047, allocations: 157.7 kB / 450.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2047, allocations: 0 / 450.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.2049, allocations: 25.38 kB / 450.1 MB, free: 40.31 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.0008068/0.2057, allocations: 488.7 kB / 450.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2058, allocations: 64.97 kB / 450.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2058, allocations: 0 / 450.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.2059, allocations: 30.73 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.2061, allocations: 43.25 kB / 450.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.2065, allocations: 274.1 kB / 451 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.2065, allocations: 97.22 kB / 451.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.2066, allocations: 16.22 kB / 451.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2066, allocations: 0 / 451.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of Templates: time 0.00275/0.2093, allocations: 2.024 MB / 453.1 MB, free: 39.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.165585868991911]