Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008669/0.0008669, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001921/0.002787, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001221/0.001221, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.00287, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.013/1.013, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09547/1.109, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.2939/0.2939, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02885/0.3227, allocations: 13.23 MB / 292.6 MB, free: 6.488 MB / 282.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.3e-05, allocations: 2.312 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002103/0.002116, allocations: 1.979 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.003573, allocations: 1.132 MB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003682, allocations: 0 / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.004049, allocations: 227.2 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.004519, allocations: 215 kB / 297.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.004869, allocations: 115.6 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.005279, allocations: 259.2 kB / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.005388, allocations: 18.61 kB / 297.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.005727, allocations: 220 kB / 298.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.005942, allocations: 131.7 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.005976, allocations: 12 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.006129, allocations: 59.92 kB / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.006214, allocations: 51.8 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.00628, allocations: 39.81 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.006593, allocations: 187.2 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688e-05/0.00661, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006611, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.006628, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008198/0.007448, allocations: 0.5242 MB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.007493, allocations: 12.03 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.007563, allocations: 24.91 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.007873, allocations: 205.8 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.007896, allocations: 8.375 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.007921, allocations: 4.375 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.008104, allocations: 115.4 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.008116, allocations: 192 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.008128, allocations: 4.562 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.008136, allocations: 7.938 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.008193, allocations: 29.62 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.008577, allocations: 304.8 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.008837, allocations: 182.6 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.008887, allocations: 29.95 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.008903, allocations: 4 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.009061, allocations: 107.8 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.009063, allocations: 0 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008635/0.009926, allocations: 329.3 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.009991, allocations: 81.11 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.01032, allocations: 332.5 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.01036, allocations: 33.7 kB / 300.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.01042, allocations: 117.5 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/0.01049, allocations: 75.41 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.01055, allocations: 41.69 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01068, allocations: 350.7 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.01072, allocations: 26.83 kB / 301.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.01078, allocations: 63.31 kB / 301.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.0109, allocations: 102.4 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0109, allocations: 0 / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001933/0.01109, allocations: 139.9 kB / 301.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01111, allocations: 4 kB / 301.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01112, allocations: 4 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.01113, allocations: 4.062 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01127, allocations: 51.91 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.01127, allocations: 0 / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.01134, allocations: 15.94 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01135, allocations: 8 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000104/0.01146, allocations: 128.5 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.0115, allocations: 27.97 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.01175, allocations: 158.1 kB / 302.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01176, allocations: 4 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01176, allocations: 0 / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.01177, allocations: 7.984 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.01234, allocations: 0.5599 MB / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.01234, allocations: 4 kB / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.01244, allocations: 35.92 kB / 302.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.01247, allocations: 27.81 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01248, allocations: 0 / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.01249, allocations: 15.92 kB / 302.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.0125, allocations: 4.125 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.0125, allocations: 4 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.01276, allocations: 412.4 kB / 303.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.0128, allocations: 15.92 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.01287, allocations: 8 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.01291, allocations: 15.97 kB / 303.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.01293, allocations: 15.98 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.01303, allocations: 139.4 kB / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01303, allocations: 0 / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01325, allocations: 51.94 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0016/0.01485, allocations: 0.7122 MB / 304.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.015, allocations: 96.64 kB / 304.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.01501, allocations: 8 kB / 304.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.01507, allocations: 64.62 kB / 304.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.01543, allocations: 91.62 kB / 304.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.01622, allocations: 0.4883 MB / 304.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.01629, allocations: 104.2 kB / 305 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.01638, allocations: 45.92 kB / 305.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.01649, allocations: 91.34 kB / 305.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01649, allocations: 0 / 305.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of Templates: time 0.005891/0.02238, allocations: 3.704 MB / 308.9 MB, free: 6.211 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.97064059227705]