Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001591/0.001591, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001597/0.001597, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 / 204.8 MB, free: 5.613 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.3135/0.3135, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.499e-05, allocations: 3.016 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002567/0.002602, allocations: 1.764 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003926, allocations: 1.012 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.004007, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.004358, allocations: 79.64 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.004677, allocations: 119.5 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004879, allocations: 87.53 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005066, allocations: 123.6 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.005164, allocations: 7.938 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.005259, allocations: 59.83 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005364, allocations: 59.86 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.005383, allocations: 4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.005469, allocations: 47.91 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.005525, allocations: 23.92 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.005571, allocations: 23.88 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005768, allocations: 107.6 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00577, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005771, allocations: 4 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.005777, allocations: 0 / 382.4 MB, free: 14.47 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.0004651/0.006242, allocations: 455.8 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.006285, allocations: 8.031 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.006336, allocations: 20.78 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.006516, allocations: 148.4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.006534, allocations: 4.375 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.006558, allocations: 12.31 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.006685, allocations: 66.88 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006695, allocations: 4.188 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.006705, allocations: 384 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006716, allocations: 3.938 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.006752, allocations: 15.98 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.007083, allocations: 287.8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.007194, allocations: 55.11 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.007226, allocations: 19.67 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.007242, allocations: 8 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.007348, allocations: 68.98 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.007349, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.007761, allocations: 157.3 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.007792, allocations: 51.41 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.007949, allocations: 250.7 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.007964, allocations: 25.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.008027, allocations: 154.9 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.008056, allocations: 31.73 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.008091, allocations: 23.38 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.008218, allocations: 0.5079 MB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.008243, allocations: 15.94 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.008283, allocations: 35.3 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.008342, allocations: 47.38 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008343, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.008463, allocations: 97.48 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008478, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.008484, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.008501, allocations: 4.031 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.008586, allocations: 16 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.008592, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.008622, allocations: 7.984 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.00863, allocations: 4 kB / 384.9 MB, free: 11.68 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 8.567e-05/0.008716, allocations: 164.5 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.008737, allocations: 23.84 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.008914, allocations: 107.1 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008916, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.008921, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008924, allocations: 8.375 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.0093, allocations: 400.9 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.009304, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.009348, allocations: 12 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009351, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.00936, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.009364, allocations: 4 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009365, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.009529, allocations: 259.4 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.009543, allocations: 11.94 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.009562, allocations: 8.031 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.009606, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.009644, allocations: 7.984 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.00966, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.009749, allocations: 185 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009749, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.009945, allocations: 23.94 kB / 386.1 MB, free: 10.39 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.0009941/0.01094, allocations: 434.5 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.01107, allocations: 59.53 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01107, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.01112, allocations: 31.67 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.01137, allocations: 27.92 kB / 386.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01176, allocations: 244.5 kB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.01181, allocations: 67.34 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01185, allocations: 25.2 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.01189, allocations: 24.62 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01189, allocations: 0 / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of Templates: time 0.004062/0.01595, allocations: 1.872 MB / 388.9 MB, free: 7.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.3608717541210353]