Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.0009767/0.0009767, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001069/0.001069, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.043 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.2479/0.2479, allocations: 34.86 MB / 296.6 MB, free: 400 kB / 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.44e-05, allocations: 2.312 kB / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002043/0.002058, allocations: 1.759 MB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.003621, allocations: 1.742 MB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.003683, allocations: 3.938 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.003893, allocations: 31.83 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.004124, allocations: 111.3 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.004237, allocations: 71.67 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.004354, allocations: 108.4 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.004416, allocations: 19.97 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.004491, allocations: 59.83 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.004578, allocations: 35.89 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004592, allocations: 8 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.004705, allocations: 107.7 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.004742, allocations: 19.92 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.004773, allocations: 23.91 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004949, allocations: 159.5 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00495, allocations: 0 / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004951, allocations: 0 / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.004954, allocations: 0 / 330.2 MB, free: 2.789 MB / 298.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.0003454/0.005299, allocations: 337.4 kB / 330.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.005325, allocations: 8.031 kB / 330.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.005352, allocations: 8.922 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.005487, allocations: 142.2 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.0055, allocations: 4.375 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.005517, allocations: 384 / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.005635, allocations: 109.1 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005643, allocations: 7.938 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.005649, allocations: 0 / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005653, allocations: 0 / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.005676, allocations: 10.83 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.005844, allocations: 177.9 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.005922, allocations: 85.28 kB / 331.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.005939, allocations: 12.8 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.005947, allocations: 4 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/0.006017, allocations: 70.14 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006018, allocations: 0 / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002305/0.006249, allocations: 109.5 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.006281, allocations: 85.11 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.006372, allocations: 160.3 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006384, allocations: 25.7 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.006413, allocations: 92.12 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.00644, allocations: 31.72 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006469, allocations: 21.72 kB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.006541, allocations: 326.8 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.006556, allocations: 14.81 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.006587, allocations: 52.22 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.006627, allocations: 44.5 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006628, allocations: 4.031 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.788e-05/0.006696, allocations: 76.75 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.006705, allocations: 5.25 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.006708, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.00672, allocations: 4 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.00677, allocations: 16 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.006772, allocations: 0 / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.006799, allocations: 7.984 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006803, allocations: 0 / 332.3 MB, free: 0.5664 MB / 298.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.47e-05/0.006858, allocations: 124.6 kB / 332.4 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.00687, allocations: 11.92 kB / 332.4 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.00695, allocations: 74.45 kB / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.006951, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.006953, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006955, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.007148, allocations: 291.6 kB / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007148, allocations: 0 / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.007169, allocations: 15.94 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00717, allocations: 0 / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.007175, allocations: 4.031 kB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007177, allocations: 4 kB / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007178, allocations: 80 / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.007285, allocations: 223 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.007297, allocations: 11.95 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.007311, allocations: 0 / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007349, allocations: 7.938 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.007369, allocations: 11.97 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.007379, allocations: 4 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.007419, allocations: 45.06 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007419, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.007578, allocations: 55.86 kB / 333.1 MB, free: 15.63 MB / 314.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.001321/0.008899, allocations: 0.6779 MB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.008975, allocations: 48.77 kB / 333.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008977, allocations: 4.062 kB / 333.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.009003, allocations: 28.78 kB / 333.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.009154, allocations: 45.3 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.009401, allocations: 188 kB / 334.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.009435, allocations: 71.33 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.009471, allocations: 12.98 kB / 334.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.009538, allocations: 79.41 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009538, allocations: 0 / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003646/0.01318, allocations: 2.769 MB / 337 MB, free: 12.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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: 3.030226548202336]