Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.0008378/0.0008378, 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.003999/0.003999, allocations: 160.1 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.8719/0.8719, allocations: 177 MB / 204.9 MB, free: 5.723 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.2483/0.2483, allocations: 34.25 MB / 295.6 MB, free: 0.6719 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.885e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.206/0.206, allocations: 1.707 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.207, allocations: 0.9796 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.2071, allocations: 0 / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.2074, allocations: 47.12 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.2077, allocations: 99.27 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.2078, allocations: 74.84 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2079, allocations: 113.3 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.208, allocations: 5.469 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.2081, allocations: 51.2 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.2081, allocations: 30.59 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.2082, allocations: 6.844 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.2082, allocations: 46.75 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.2083, allocations: 24.11 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2083, allocations: 21.02 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2085, allocations: 118.9 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2085, allocations: 1.656 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2085, allocations: 0 / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2085, allocations: 0 / 446.8 MB, free: 42.94 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.0003971/0.2089, allocations: 351.5 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2089, allocations: 9.688 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.209, allocations: 10.89 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2092, allocations: 164.7 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2092, allocations: 3.469 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.2092, allocations: 3.125 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2093, allocations: 60.08 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2093, allocations: 7.453 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2093, allocations: 384 / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2093, allocations: 3.938 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.2094, allocations: 25.48 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.2096, allocations: 225.6 kB / 447.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2097, allocations: 62.56 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.2098, allocations: 20.72 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2098, allocations: 1.406 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.2099, allocations: 72.64 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.2099, allocations: 0 / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003796/0.2103, allocations: 194.5 kB / 448 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2103, allocations: 51.41 kB / 448.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2104, allocations: 211.3 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.2104, allocations: 31.72 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.2104, allocations: 109 kB / 448.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.2104, allocations: 22.83 kB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.2105, allocations: 22.92 kB / 448.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.243e-05/0.2105, allocations: 323.7 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.2105, allocations: 29.09 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.2106, allocations: 40.3 kB / 448.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.2106, allocations: 60.66 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2106, allocations: 0 / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001004/0.2107, allocations: 115.5 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2108, allocations: 5.312 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2108, allocations: 0 / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2108, allocations: 5.906 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.2108, allocations: 17.47 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2108, allocations: 0 / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.2109, allocations: 10.08 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2109, allocations: 2.656 kB / 449 MB, free: 41.15 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.468e-05/0.2109, allocations: 131.7 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.2109, allocations: 13.27 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.2111, allocations: 120.5 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2111, allocations: 2.562 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2111, allocations: 96 / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2111, allocations: 3.938 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2113, allocations: 356.4 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2113, allocations: 0 / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.2113, allocations: 12.19 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2113, allocations: 2.906 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2113, allocations: 4 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2113, allocations: 2.781 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2113, allocations: 1.641 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2114, allocations: 217.1 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.2115, allocations: 9.203 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2115, allocations: 3.25 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.2115, allocations: 13.92 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2115, allocations: 8.156 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2115, allocations: 5.344 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.2116, allocations: 161.2 kB / 450.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2116, allocations: 0 / 450.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.2118, allocations: 25.28 kB / 450.1 MB, free: 40.37 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.0007449/0.2125, allocations: 486.8 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2127, allocations: 71.39 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2127, allocations: 0 / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.2127, allocations: 25.17 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2129, allocations: 38.39 kB / 450.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.2132, allocations: 270.7 kB / 451 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.2133, allocations: 95.83 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.2133, allocations: 16.91 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2133, allocations: 0 / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002384/0.2157, allocations: 2.032 MB / 453.1 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.103731830604374]