Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.000869/0.000869, 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.003581/0.003581, allocations: 153.8 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.8789/0.8789, allocations: 177 MB / 204.9 MB, free: 5.75 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.2396/0.2396, 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.297e-05, allocations: 3.828 kB / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.2243/0.2243, allocations: 1.708 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2255, allocations: 0.981 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.2256, allocations: 2.812 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.2259, allocations: 51.81 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.2261, allocations: 99.8 kB / 446.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2262, allocations: 81.89 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.2264, allocations: 111.6 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2265, allocations: 6.516 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.2266, allocations: 56.11 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.2266, allocations: 26.8 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2266, allocations: 5.812 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.2267, allocations: 47.69 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.2268, allocations: 30.78 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.2268, allocations: 22.23 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.227, allocations: 136.2 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.227, allocations: 0 / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.227, allocations: 3.875 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.227, allocations: 0 / 446.9 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.0003823/0.2274, allocations: 367 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2274, allocations: 8.406 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.2274, allocations: 14.66 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2276, allocations: 172.4 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2276, allocations: 384 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2277, allocations: 3.344 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2278, allocations: 55.3 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2278, allocations: 3.438 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2278, allocations: 5.203 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2278, allocations: 3.938 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.2279, allocations: 23.06 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.2281, allocations: 240.8 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2282, allocations: 66.12 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.2282, allocations: 17.61 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2283, allocations: 0.5 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.2284, allocations: 79.11 kB / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2284, allocations: 0 / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003737/0.2287, allocations: 189 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.2288, allocations: 58.69 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2289, allocations: 274.7 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.2289, allocations: 25.7 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.2289, allocations: 118.8 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.229, allocations: 21.64 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.229, allocations: 23.03 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.43e-05/0.229, allocations: 335.8 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.2291, allocations: 22.31 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.2291, allocations: 36.34 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.2292, allocations: 64.36 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2292, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.938e-05/0.2293, allocations: 118.3 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2293, allocations: 3.031 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2293, allocations: 2.906 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2293, allocations: 2.906 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.2294, allocations: 20.02 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2294, allocations: 192 / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.2294, allocations: 10.94 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2294, allocations: 6.938 kB / 449.2 MB, free: 41.1 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 6.093e-05/0.2295, allocations: 134.3 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2295, allocations: 24.14 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.2296, allocations: 129.6 kB / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2296, allocations: 2.281 kB / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2296, allocations: 0 / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2296, allocations: 0 / 449.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.2299, allocations: 366 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2299, allocations: 0 / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.2299, allocations: 8.5 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2299, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2299, allocations: 6.812 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2299, allocations: 32 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2299, allocations: 8.422 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.23, allocations: 220.9 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.23, allocations: 17.12 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.23, allocations: 0 / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.2301, allocations: 6.312 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2301, allocations: 10.12 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2301, allocations: 5.781 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.2302, allocations: 206.1 kB / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2302, allocations: 0 / 450.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.2304, allocations: 22.94 kB / 450.3 MB, free: 40.3 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.0007496/0.2311, allocations: 497.4 kB / 450.8 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.2312, allocations: 61.52 kB / 450.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2312, allocations: 4.062 kB / 450.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.2313, allocations: 32.8 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2315, allocations: 30.22 kB / 451 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.2318, allocations: 324.9 kB / 451.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.2319, allocations: 101.5 kB / 451.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.2319, allocations: 28.55 kB / 451.4 MB, free: 39.76 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2319, allocations: 4.062 kB / 451.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of Templates: time 0.002461/0.2344, allocations: 2.155 MB / 453.6 MB, free: 39.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.038285872898996]