Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008736/0.0008736, 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.005168/0.005168, allocations: 154.5 kB / 24.69 MB, free: 9.441 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.9177/0.9177, allocations: 177 MB / 204.9 MB, free: 5.738 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.2304/0.2304, allocations: 34.24 MB / 295.6 MB, free: 0.6797 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 443.5 MB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.26e-05, allocations: 8.75 kB / 443.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.1955/0.1956, allocations: 1.908 MB / 445.4 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1967, allocations: 0.999 MB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1968, allocations: 3.969 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.1972, allocations: 49.69 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1975, allocations: 106 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1977, allocations: 94.86 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.198, allocations: 149.4 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1981, allocations: 23.47 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1982, allocations: 79.14 kB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.1983, allocations: 35.88 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1983, allocations: 5.875 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1984, allocations: 53.73 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.1985, allocations: 31.14 kB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.1986, allocations: 30.25 kB / 447.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1988, allocations: 158.1 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1988, allocations: 2.75 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1988, allocations: 0.5 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1988, allocations: 1.25 kB / 447.2 MB, free: 42.74 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005601/0.1994, allocations: 410.1 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1994, allocations: 13.72 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1995, allocations: 16.84 kB / 447.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1998, allocations: 173.6 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1998, allocations: 9.719 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1998, allocations: 4.609 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2, allocations: 135.6 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2, allocations: 192 / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2, allocations: 3.75 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2, allocations: 4.438 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.2001, allocations: 59.48 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.2005, allocations: 452.2 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.2008, allocations: 81.91 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.2008, allocations: 41.64 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2009, allocations: 2.906 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.201, allocations: 113 kB / 448.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.201, allocations: 0 / 448.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002925/0.2013, allocations: 153.4 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2013, allocations: 54.25 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2015, allocations: 205.8 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2015, allocations: 25.7 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.2015, allocations: 127.3 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2016, allocations: 22.69 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.2016, allocations: 29.98 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.2016, allocations: 331.4 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.2017, allocations: 29.08 kB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.2017, allocations: 70.53 kB / 449.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2019, allocations: 103.7 kB / 449.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2019, allocations: 0 / 449.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001541/0.202, allocations: 147 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.202, allocations: 5.719 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.202, allocations: 0 / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.202, allocations: 2.875 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.2021, allocations: 21.02 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2021, allocations: 6.109 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.2022, allocations: 13.53 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2022, allocations: 6.844 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.325e-05/0.2022, allocations: 131.1 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.2023, allocations: 16.59 kB / 450.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.2025, allocations: 144.6 kB / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2025, allocations: 0 / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2025, allocations: 0 / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2025, allocations: 0 / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2026, allocations: 159.5 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2026, allocations: 0 / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.2027, allocations: 14.67 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2027, allocations: 0 / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2027, allocations: 2.906 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2027, allocations: 4 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2027, allocations: 0 / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2029, allocations: 199.5 kB / 450.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.2029, allocations: 17.56 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2029, allocations: 6.25 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.203, allocations: 8.641 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.203, allocations: 10.02 kB / 450.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.203, allocations: 6.172 kB / 450.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.528e-05/0.2031, allocations: 145.3 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2031, allocations: 4.062 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.2032, allocations: 31.33 kB / 450.9 MB, free: 39.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007596/0.204, allocations: 426.7 kB / 451.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.2042, allocations: 79 kB / 451.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2042, allocations: 0 / 451.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.2042, allocations: 38.11 kB / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2045, allocations: 43.3 kB / 451.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.2049, allocations: 286.1 kB / 451.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.205, allocations: 102.9 kB / 451.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.205, allocations: 21.09 kB / 451.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.205, allocations: 384 / 451.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of Templates: time 0.00299/0.208, allocations: 2.278 MB / 454.2 MB, free: 39.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.084359356202185]