Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001944/0.001944, 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.002442/0.002442, allocations: 158.8 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.148 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.2525/0.2525, allocations: 34.27 MB / 294.8 MB, free: 14.52 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.326e-05, allocations: 6.281 kB / 442.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003125/0.003149, allocations: 1.712 MB / 444.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.005046, allocations: 0.9813 MB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.005125, allocations: 0 / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.005433, allocations: 39.77 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.005764, allocations: 95.53 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005959, allocations: 79.55 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.006156, allocations: 111.6 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.006261, allocations: 11.98 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.006378, allocations: 51.84 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.006464, allocations: 31.89 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.006486, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.006599, allocations: 43.92 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.006668, allocations: 19.92 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.006718, allocations: 19.92 kB / 445.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.006954, allocations: 115.6 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006958, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006959, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006964, allocations: 0 / 446.1 MB, free: 1.859 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.0006151/0.007579, allocations: 349.6 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.007616, allocations: 8.031 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.007671, allocations: 12.84 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.007948, allocations: 155 kB / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.007964, allocations: 8.312 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.007983, allocations: 4.312 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008147, allocations: 54.23 kB / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.008161, allocations: 192 / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.008172, allocations: 4.375 kB / 446.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.008178, allocations: 3.938 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.008265, allocations: 27.98 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.008676, allocations: 228.6 kB / 446.9 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.008889, allocations: 66.55 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.008962, allocations: 24.84 kB / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.008977, allocations: 0 / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.009157, allocations: 71.33 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.009158, allocations: 0 / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006882/0.009847, allocations: 189.3 kB / 447.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.009909, allocations: 51.41 kB / 447.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.01015, allocations: 202.2 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.01018, allocations: 25.7 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.01028, allocations: 108.1 kB / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.01034, allocations: 27.78 kB / 447.6 MB, free: 124 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.0104, allocations: 17.72 kB / 447.7 MB, free: 100 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1843/0.1947, allocations: 322.8 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1949, allocations: 21.2 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.195, allocations: 39.53 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1951, allocations: 65.92 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1951, allocations: 0 / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002679/0.1954, allocations: 107.4 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1954, allocations: 9.328 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1954, allocations: 1.25 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.1954, allocations: 0.6094 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1955, allocations: 19.39 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1955, allocations: 4.906 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.1956, allocations: 3.875 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1956, allocations: 3.062 kB / 448.2 MB, free: 18.9 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 0.0001146/0.1957, allocations: 126 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1958, allocations: 10.73 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1961, allocations: 128.1 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1961, allocations: 1.312 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1961, allocations: 5.453 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1961, allocations: 0.6094 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1965, allocations: 349 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1965, allocations: 1.766 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1966, allocations: 13.67 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1966, allocations: 1.156 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1966, allocations: 7.391 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1966, allocations: 7.547 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1966, allocations: 0 / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1968, allocations: 214.2 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.1968, allocations: 12.45 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1968, allocations: 5.25 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1969, allocations: 8.312 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.197, allocations: 5.578 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.197, allocations: 8.281 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1971, allocations: 151.6 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1971, allocations: 0 / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1974, allocations: 26.86 kB / 449.3 MB, free: 18.29 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.001985/0.1994, allocations: 499.1 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1996, allocations: 55.44 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1996, allocations: 1.281 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.1997, allocations: 32.73 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2001, allocations: 25.97 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.2007, allocations: 238.5 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2008, allocations: 98.52 kB / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.2009, allocations: 17.81 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2009, allocations: 16.44 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2009, allocations: 0 / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.00643/0.2073, allocations: 1.852 MB / 452.1 MB, free: 17.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.057881306856871]