Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.0009378/0.0009378, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004097/0.004097, allocations: 158.5 kB / 24.7 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.8835/0.8835, allocations: 177 MB / 204.9 MB, free: 5.754 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.2645/0.2645, allocations: 34.24 MB / 295.6 MB, free: 0.7031 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 443.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.545e-05, allocations: 2.281 kB / 443.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.166/0.166, allocations: 1.713 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.167, allocations: 0.9733 MB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.1671, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1673, allocations: 41.41 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1675, allocations: 99.91 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1677, allocations: 82.8 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1678, allocations: 102.8 kB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.1679, allocations: 6.969 kB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.1679, allocations: 61.86 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.168, allocations: 24.11 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.168, allocations: 3.062 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1681, allocations: 51.61 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.1681, allocations: 27.11 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1681, allocations: 16.06 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1683, allocations: 117.7 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1683, allocations: 2.969 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1683, allocations: 0 / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1683, allocations: 0 / 446.8 MB, free: 43.01 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.0003551/0.1687, allocations: 346.4 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1687, allocations: 10.69 kB / 447.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.47e-05/0.1687, allocations: 16.53 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1689, allocations: 147.2 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1689, allocations: 6.25 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1689, allocations: 7.344 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.169, allocations: 48.58 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.169, allocations: 192 / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1691, allocations: 9.031 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1691, allocations: 9.938 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.1691, allocations: 18.77 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.1693, allocations: 234.6 kB / 447.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1694, allocations: 58.92 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.1695, allocations: 20.89 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1695, allocations: 2.688 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.406e-05/0.1696, allocations: 72.67 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1696, allocations: 0 / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003515/0.1699, allocations: 186.1 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.1699, allocations: 51.41 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.17, allocations: 208.8 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.17, allocations: 25.7 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.1701, allocations: 105.5 kB / 448.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1701, allocations: 21.84 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.1701, allocations: 26.09 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.673e-05/0.1701, allocations: 329.2 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1702, allocations: 18.81 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.1702, allocations: 38.69 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.1703, allocations: 64.78 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1703, allocations: 0 / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.829e-05/0.1704, allocations: 115.3 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1704, allocations: 9.969 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1704, allocations: 2.438 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1704, allocations: 3.938 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.1704, allocations: 14.31 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1705, allocations: 0 / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.1705, allocations: 10.33 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.1705, allocations: 3 kB / 449 MB, free: 41.24 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.96e-05/0.1705, allocations: 125.8 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.1705, allocations: 13.64 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1707, allocations: 125.9 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1707, allocations: 0 / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1707, allocations: 0 / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1707, allocations: 2.906 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.1709, allocations: 352.8 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1709, allocations: 0 / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.1709, allocations: 8.875 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1709, allocations: 3.156 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1709, allocations: 11.36 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1709, allocations: 3.062 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1709, allocations: 5.672 kB / 449.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.887e-05/0.171, allocations: 214.2 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.171, allocations: 10.81 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1711, allocations: 3.312 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.1711, allocations: 10.03 kB / 449.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1711, allocations: 6.141 kB / 449.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1711, allocations: 5.625 kB / 449.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.1712, allocations: 149.4 kB / 450 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 450 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.1713, allocations: 26.66 kB / 450.1 MB, free: 40.46 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.0006773/0.172, allocations: 492.5 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1721, allocations: 61.12 kB / 450.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1721, allocations: 64 / 450.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.1722, allocations: 39.45 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1724, allocations: 29.55 kB / 450.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.1727, allocations: 263.8 kB / 450.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.1727, allocations: 93.5 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.1727, allocations: 21.16 kB / 451 MB, free: 39.95 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1727, allocations: 0 / 451 MB, free: 39.95 MB / 410.7 MB Notification: Performance of Templates: time 0.002167/0.1749, allocations: 1.99 MB / 453 MB, free: 39.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.045994848012924]