Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001326/0.001326, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001412/0.001412, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2143/0.2143, allocations: 34.27 MB / 294.8 MB, free: 14.53 MB / 286.1 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.528e-05, allocations: 6.281 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00298/0.003006, allocations: 1.716 MB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004891, allocations: 0.9756 MB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.004968, allocations: 0 / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.005281, allocations: 43.75 kB / 445.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.005622, allocations: 95.55 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.005854, allocations: 91.47 kB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.006159, allocations: 107.6 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.006257, allocations: 7.984 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.006383, allocations: 59.77 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.006478, allocations: 23.92 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.006499, allocations: 4 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.006617, allocations: 43.97 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.006686, allocations: 23.92 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.006735, allocations: 19.88 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.006983, allocations: 123.5 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.006989, allocations: 8 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00699, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.006996, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 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.0006652/0.007661, allocations: 341.6 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.007705, allocations: 8.031 kB / 446.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.007762, allocations: 12.89 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.008121, allocations: 161.4 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.008142, allocations: 4.375 kB / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.00817, allocations: 384 / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.008351, allocations: 66.16 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.008365, allocations: 4.188 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.00838, allocations: 4.375 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008389, allocations: 3.938 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.008481, allocations: 19.98 kB / 446.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.008919, allocations: 232.5 kB / 446.9 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.009154, allocations: 62.66 kB / 447 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.009217, allocations: 16.86 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.009236, allocations: 0 / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.009415, allocations: 79.31 kB / 447.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.009416, allocations: 0 / 447.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006687/0.01008, allocations: 181.3 kB / 447.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.01014, allocations: 51.41 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.01042, allocations: 214.4 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01044, allocations: 25.7 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.01053, allocations: 112 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.01057, allocations: 27.78 kB / 447.7 MB, free: 120 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.01062, allocations: 21.72 kB / 447.7 MB, free: 92 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.182/0.1926, allocations: 324 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1927, allocations: 21.12 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.1928, allocations: 42.44 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1929, allocations: 61.41 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1929, allocations: 4.422 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.1932, allocations: 109.6 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1932, allocations: 6.109 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1932, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1932, allocations: 1.344 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.1933, allocations: 18.44 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1933, allocations: 5.422 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1934, allocations: 3.219 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1934, allocations: 2.984 kB / 448.3 MB, free: 18.93 MB / 366.1 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 8.794e-05/0.1935, allocations: 129.8 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1935, allocations: 12.75 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1937, allocations: 124.2 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1937, allocations: 1.125 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1937, allocations: 5 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1937, allocations: 3.359 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.1942, allocations: 352 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1942, allocations: 0 / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.1942, allocations: 13.81 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1942, allocations: 1.25 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1942, allocations: 12.09 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1942, allocations: 0.5156 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1942, allocations: 1.062 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1944, allocations: 215.4 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.1945, allocations: 9.797 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1945, allocations: 6.859 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.1946, allocations: 5.625 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1946, allocations: 14.66 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1946, allocations: 3.656 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1947, allocations: 159.7 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1947, allocations: 0 / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.195, allocations: 29.45 kB / 449.4 MB, free: 18.32 MB / 366.1 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.001778/0.1968, allocations: 490.3 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.197, allocations: 60.92 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.197, allocations: 0 / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.1971, allocations: 26.36 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1974, allocations: 35.42 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1979, allocations: 253.7 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.468e-05/0.198, allocations: 99.3 kB / 450.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.198, allocations: 17.03 kB / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1981, allocations: 16.77 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1981, allocations: 3.125 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005469/0.2035, allocations: 1.848 MB / 452.2 MB, free: 17.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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: 4.985852491110563]