Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009687/0.0009687, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001037/0.001037, allocations: 164.7 kB / 24.82 MB, free: 9.324 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.9746/0.9746, allocations: 177 MB / 205.1 MB, free: 5.484 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.2925/0.2925, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.445e-05, allocations: 2.875 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001988/0.002003, allocations: 1.748 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003112, allocations: 1.008 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.00317, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.003389, allocations: 83.64 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.003631, allocations: 115.5 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.003778, allocations: 91.53 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.0039, allocations: 123.6 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.00396, allocations: 8 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.004036, allocations: 63.75 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.004112, allocations: 59.86 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.004124, allocations: 4 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.004186, allocations: 43.92 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.004221, allocations: 23.92 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.00425, allocations: 23.86 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.004376, allocations: 103.6 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004378, allocations: 4 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004378, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004381, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.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.0003111/0.004692, allocations: 463.7 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.00472, allocations: 8.031 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.004746, allocations: 20.78 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.004852, allocations: 144.4 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004862, allocations: 4.375 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004875, allocations: 8.328 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.004945, allocations: 54.94 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004952, allocations: 4.188 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.004958, allocations: 8.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004962, allocations: 3.938 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.004982, allocations: 11.92 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.005222, allocations: 256.4 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.005294, allocations: 51.16 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.005315, allocations: 19.67 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.005328, allocations: 0 / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/0.005399, allocations: 68.98 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.0054, allocations: 4 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002496/0.005649, allocations: 141.4 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.00567, allocations: 51.41 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.00578, allocations: 246.6 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.005789, allocations: 25.7 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.005842, allocations: 162.8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.005863, allocations: 23.78 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.005891, allocations: 27.36 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.005993, allocations: 0.504 MB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.006006, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.00603, allocations: 31.36 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.006072, allocations: 51.28 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.006073, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.98e-05/0.006153, allocations: 89.84 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.006162, allocations: 4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.006165, allocations: 4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.006172, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.006217, allocations: 16 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.00622, allocations: 3.984 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.006245, allocations: 8.031 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006253, allocations: 4 kB / 385.3 MB, free: 11.52 MB / 362.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.25e-05/0.006316, allocations: 160.5 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.006333, allocations: 19.89 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.006441, allocations: 103 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006443, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006445, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006447, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.006677, allocations: 365.6 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006678, allocations: 4.031 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.0067, allocations: 11.94 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006701, allocations: 0 / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-06/0.006706, allocations: 4 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.006707, allocations: 0 / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.006708, allocations: 0 / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.006825, allocations: 263.4 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.006837, allocations: 15.92 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.006849, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.006887, allocations: 4 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.006906, allocations: 15.98 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.006913, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.006975, allocations: 177 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006975, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.007134, allocations: 27.94 kB / 386.4 MB, free: 10.29 MB / 362.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.0007809/0.007915, allocations: 426 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.007993, allocations: 55.58 kB / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.007994, allocations: 0 / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.008025, allocations: 35.67 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.008234, allocations: 35.88 kB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.008494, allocations: 240.5 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.00853, allocations: 67.34 kB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.008564, allocations: 21.2 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.008623, allocations: 86.19 kB / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008624, allocations: 0 / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00311/0.01173, allocations: 2.055 MB / 389.4 MB, free: 7.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.921992182265967]