Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001316/0.001316, 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.005641/0.005641, allocations: 156 kB / 24.7 MB, free: 9.434 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.9027/0.9027, allocations: 177 MB / 204.9 MB, free: 5.719 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.2776/0.2776, allocations: 34.25 MB / 295.6 MB, free: 0.668 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 443.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.435e-05, allocations: 9.094 kB / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.2055/0.2055, allocations: 1.704 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2073, allocations: 1.675 MB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.2074, allocations: 0 / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.2077, allocations: 35.64 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.2081, allocations: 106.4 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.2082, allocations: 85.14 kB / 447.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.2084, allocations: 111.7 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2085, allocations: 3.438 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.2086, allocations: 57.97 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2087, allocations: 37.73 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2087, allocations: 5.875 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2089, allocations: 103.1 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.2089, allocations: 25.52 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.209, allocations: 23.97 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.2092, allocations: 179.9 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2092, allocations: 0 / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2092, allocations: 0 / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2092, allocations: 0 / 447.6 MB, free: 42.35 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.0004984/0.2097, allocations: 355.7 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2098, allocations: 8.812 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.2098, allocations: 12.2 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2101, allocations: 146.8 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2101, allocations: 3.906 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2101, allocations: 6.766 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2103, allocations: 106.4 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2103, allocations: 3.938 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2103, allocations: 0 / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2103, allocations: 0 / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.2104, allocations: 23.48 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.2106, allocations: 233.7 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2108, allocations: 55.34 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.2108, allocations: 32.25 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2108, allocations: 0 / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.2109, allocations: 70 kB / 448.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.2109, allocations: 0 / 448.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004312/0.2114, allocations: 177.9 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2114, allocations: 80.14 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2115, allocations: 166.8 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.2115, allocations: 29.7 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2115, allocations: 96.84 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.2116, allocations: 26.44 kB / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2116, allocations: 28.61 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.2116, allocations: 321.5 kB / 449.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.2117, allocations: 21.73 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.2117, allocations: 75.34 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.2118, allocations: 69.19 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2118, allocations: 2.719 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001169/0.2119, allocations: 104.8 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2119, allocations: 5.062 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2119, allocations: 2.719 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.212, allocations: 0 / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.212, allocations: 17.52 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.212, allocations: 0 / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.2121, allocations: 2.781 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2121, allocations: 14.55 kB / 449.9 MB, free: 40.46 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.545e-05/0.2121, allocations: 123.8 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2121, allocations: 9.734 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.2123, allocations: 121.9 kB / 450.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2123, allocations: 2.75 kB / 450.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2123, allocations: 0 / 450.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2123, allocations: 0 / 450.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.2126, allocations: 351.6 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2126, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.2126, allocations: 19.44 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2126, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2126, allocations: 2.875 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2126, allocations: 1.641 kB / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2126, allocations: 0 / 450.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.2127, allocations: 213.2 kB / 450.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.2127, allocations: 13.38 kB / 450.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2128, allocations: 6.781 kB / 450.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.204e-05/0.2128, allocations: 2.875 kB / 450.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.2128, allocations: 6.109 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2129, allocations: 6.875 kB / 450.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.034e-05/0.2129, allocations: 139.4 kB / 450.9 MB, free: 39.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2129, allocations: 0 / 450.9 MB, free: 39.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.2131, allocations: 54.47 kB / 450.9 MB, free: 39.68 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.0009991/0.2141, allocations: 0.5751 MB / 451.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2143, allocations: 64.17 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2143, allocations: 2.875 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.2143, allocations: 32.19 kB / 451.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.2146, allocations: 28.78 kB / 451.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.2149, allocations: 219.8 kB / 451.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.59e-05/0.215, allocations: 101.1 kB / 452 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.2151, allocations: 27.05 kB / 452 MB, free: 39.15 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2151, allocations: 0 / 452 MB, free: 39.15 MB / 410.7 MB Notification: Performance of Templates: time 0.003336/0.2184, allocations: 2.463 MB / 454.5 MB, free: 38.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.215822738595307]