Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009845/0.0009845, 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.0009733/0.0009733, 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 0.9486/0.9486, allocations: 177 MB / 205.2 MB, free: 5.039 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.2958/0.2958, allocations: 34.86 MB / 296.6 MB, free: 460 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.975e-05, allocations: 4.281 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002348/0.002368, allocations: 1.765 MB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003672, allocations: 1.017 MB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.003753, allocations: 0 / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.004013, allocations: 51.7 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.004301, allocations: 103.5 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.004499, allocations: 79.59 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004648, allocations: 104.5 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.004739, allocations: 15.95 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.004836, allocations: 55.78 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.004911, allocations: 31.89 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004925, allocations: 4 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.005006, allocations: 47.92 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.005053, allocations: 31.86 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.005087, allocations: 19.92 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.005254, allocations: 115.6 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005256, allocations: 0 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005258, allocations: 0 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005261, allocations: 3.938 kB / 329.4 MB, free: 3.625 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.000386/0.005647, allocations: 349.2 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.005676, allocations: 8.031 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.005708, allocations: 20.86 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.005856, allocations: 157.6 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005869, allocations: 4.375 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.005887, allocations: 8.359 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.667e-05/0.005984, allocations: 57.77 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005991, allocations: 192 / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.005999, allocations: 4.375 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.006005, allocations: 3.938 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.006027, allocations: 11.94 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.006215, allocations: 170 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.006299, allocations: 93.28 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.006318, allocations: 12.84 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.00633, allocations: 7.984 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/0.006405, allocations: 62.16 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006406, allocations: 4 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003008/0.006706, allocations: 117.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.006737, allocations: 51.41 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.006876, allocations: 226.3 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.006891, allocations: 25.7 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.006928, allocations: 100.1 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.006955, allocations: 27.78 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.006986, allocations: 25.7 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.007072, allocations: 330.8 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.007091, allocations: 10.83 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.007115, allocations: 21.7 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.007161, allocations: 48.45 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.007162, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.197e-05/0.007244, allocations: 72.44 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.007258, allocations: 15.95 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.007265, allocations: 4 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007277, allocations: 0 / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.107e-05/0.007338, allocations: 12 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.00734, allocations: 0 / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.007368, allocations: 4.375 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007373, allocations: 3.984 kB / 331.5 MB, free: 1.418 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 6.021e-05/0.007433, allocations: 120.6 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.007448, allocations: 15.92 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.007552, allocations: 79.08 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007554, allocations: 8 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.007555, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.00756, allocations: 3.984 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.007765, allocations: 291.6 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007768, allocations: 7.938 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.007793, allocations: 11.98 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007794, allocations: 0 / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.007799, allocations: 0 / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007801, allocations: 80 / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007803, allocations: 11.92 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.358e-05/0.007897, allocations: 215.1 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.007911, allocations: 19.83 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.007926, allocations: 4 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.007965, allocations: 0 / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.007988, allocations: 11.92 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.008001, allocations: 8 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.45e-05/0.008065, allocations: 80.64 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008065, allocations: 0 / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.008214, allocations: 27.94 kB / 332.4 MB, free: 456 kB / 298.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.001167/0.009381, allocations: 0.5535 MB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.009475, allocations: 40.78 kB / 332.9 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.009478, allocations: 0 / 332.9 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.009511, allocations: 36.83 kB / 333 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.009684, allocations: 43.8 kB / 333 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.01, allocations: 260.5 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01005, allocations: 75.31 kB / 333.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.01009, allocations: 17.22 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.01014, allocations: 71.42 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01015, allocations: 0 / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of Templates: time 0.003396/0.01354, allocations: 2.044 MB / 335.5 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.9135536989197135]