Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001249/0.001249, allocations: 84.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.001427/0.001427, allocations: 166.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.046/1.046, allocations: 177 MB / 205.2 MB, free: 4.965 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.2878/0.2878, allocations: 34.86 MB / 296.6 MB, free: 464 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.673e-05, allocations: 6.688 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002306/0.002323, allocations: 1.806 MB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003535, allocations: 1.009 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.003603, allocations: 0 / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.003862, allocations: 43.7 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.004082, allocations: 91.48 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.004222, allocations: 75.67 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.00436, allocations: 116.3 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.00443, allocations: 7.984 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.004509, allocations: 55.83 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.004577, allocations: 31.84 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004591, allocations: 4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.004662, allocations: 47.92 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.004702, allocations: 19.92 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.004733, allocations: 23.91 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004881, allocations: 95.66 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004883, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004883, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.004887, allocations: 0 / 329.5 MB, free: 3.586 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.0003478/0.005235, allocations: 333.4 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.005267, allocations: 8.031 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.005296, allocations: 4.938 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.005452, allocations: 154.2 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005466, allocations: 4.375 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.005482, allocations: 4.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.771e-05/0.00558, allocations: 61.77 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.00559, allocations: 192 / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.005598, allocations: 4.375 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005603, allocations: 3.938 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.005628, allocations: 7.984 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.005819, allocations: 161.9 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.005902, allocations: 93.33 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.005922, allocations: 16.84 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.005933, allocations: 4 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.987e-05/0.006013, allocations: 58.22 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.006013, allocations: 0 / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002786/0.006292, allocations: 121.5 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.006324, allocations: 59.34 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006428, allocations: 173.3 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.006442, allocations: 29.7 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.006476, allocations: 96.11 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.006504, allocations: 31.78 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.006536, allocations: 21.7 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.006622, allocations: 330.8 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.006637, allocations: 10.83 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.006661, allocations: 25.64 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.006707, allocations: 44.45 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006708, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.46e-05/0.006782, allocations: 64.5 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006795, allocations: 7.938 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.0068, allocations: 4.031 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006812, allocations: 0 / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.006878, allocations: 23.92 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006881, allocations: 0 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.00691, allocations: 8 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.006915, allocations: 4 kB / 331.4 MB, free: 1.473 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.503e-05/0.00698, allocations: 120.7 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.006992, allocations: 7.938 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.007099, allocations: 79.05 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007101, allocations: 8 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.007102, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007106, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.007307, allocations: 295.6 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007309, allocations: 3.938 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.007334, allocations: 11.98 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007335, allocations: 0 / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.007342, allocations: 4 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007343, allocations: 0 / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007343, allocations: 0 / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.00744, allocations: 219.1 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.007451, allocations: 12.27 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.007467, allocations: 7.984 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.007508, allocations: 8 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.007534, allocations: 7.984 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.007545, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.007585, allocations: 47.64 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007585, allocations: 4 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.007724, allocations: 23.94 kB / 332.2 MB, free: 0.5547 MB / 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.001217/0.008941, allocations: 0.5632 MB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.009031, allocations: 48.77 kB / 332.9 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.009034, allocations: 0 / 332.9 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.009065, allocations: 24.97 kB / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.00924, allocations: 39.84 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.009536, allocations: 212 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.009575, allocations: 71.33 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.009609, allocations: 17.27 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.009671, allocations: 67.36 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009672, allocations: 0 / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.0034/0.01307, allocations: 2.024 MB / 335.3 MB, free: 13.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.1010001529939473]