Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.0008371/0.0008371, 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.003354/0.003354, allocations: 158.8 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.903/0.903, 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.2508/0.2508, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.284e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.2059/0.2059, allocations: 1.719 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.2069, allocations: 0.9768 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.207, allocations: 2.75 kB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.2073, allocations: 38 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.2075, allocations: 98.52 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.2076, allocations: 77.56 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2077, allocations: 108.8 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.2078, allocations: 6.672 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.2079, allocations: 60.28 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.208, allocations: 29.33 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.208, allocations: 3.656 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.208, allocations: 43.42 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.2081, allocations: 23.78 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2081, allocations: 23.11 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2083, allocations: 118.1 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2083, allocations: 0 / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2083, allocations: 0 / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2083, 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.0003511/0.2086, allocations: 345.2 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.2087, allocations: 10.03 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2087, allocations: 14.47 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2089, allocations: 153.5 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.2089, allocations: 3.281 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2089, allocations: 6.688 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.209, allocations: 56.09 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.209, allocations: 192 / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.209, allocations: 4.031 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.209, allocations: 3.938 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.2091, allocations: 26.3 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.2093, allocations: 228.8 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.2094, allocations: 67.86 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.2094, allocations: 21.28 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2094, allocations: 0 / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/0.2095, allocations: 80.55 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.2095, allocations: 0 / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003435/0.2099, allocations: 176.9 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2099, allocations: 51.41 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.21, allocations: 207.4 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.21, allocations: 28.67 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.21, allocations: 105.3 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.21, allocations: 21.92 kB / 448.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.2101, allocations: 19.22 kB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.2101, allocations: 330.3 kB / 448.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.2101, allocations: 22.61 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.2102, allocations: 38.27 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/0.2102, allocations: 67.3 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2102, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.508e-05/0.2103, allocations: 117 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.2103, allocations: 5.062 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2103, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2103, allocations: 3 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.2104, allocations: 15.11 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2104, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.2104, allocations: 6.906 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2104, allocations: 2.875 kB / 449 MB, free: 41.17 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.719e-05/0.2105, allocations: 130 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2105, allocations: 13.52 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.2106, allocations: 126 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2106, allocations: 2.781 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2106, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2106, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2108, allocations: 356.3 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2108, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.2109, allocations: 9 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2109, allocations: 4 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2109, allocations: 10.33 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2109, allocations: 3.938 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2109, allocations: 1.641 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.211, allocations: 214 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.211, allocations: 10.88 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.211, allocations: 6.125 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.211, allocations: 2.75 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.2111, allocations: 10.05 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2111, allocations: 10.36 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.2111, allocations: 152.1 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2111, allocations: 0 / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.2113, allocations: 24.61 kB / 450.1 MB, free: 40.39 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.0006821/0.212, allocations: 487.9 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.2121, allocations: 64.88 kB / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2121, allocations: 0 / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.2121, allocations: 29.64 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2123, allocations: 34.78 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.2127, allocations: 260.9 kB / 450.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.2128, allocations: 97.89 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.2128, allocations: 17.45 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2128, allocations: 2.719 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002268/0.215, allocations: 1.992 MB / 453 MB, free: 39.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.0584565456956625]