Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001179/0.001179, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001161/0.001161, allocations: 168.4 kB / 24.91 MB, free: 8.715 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.9273/0.9273, allocations: 177 MB / 205.2 MB, free: 4.418 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.1373/0.1373, allocations: 34.87 MB / 296.6 MB, free: 13.38 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 326 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.743e-05, allocations: 2.312 kB / 326 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002135/0.002152, allocations: 1.808 MB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003306, allocations: 1.009 MB / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003378, allocations: 0 / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.00362, allocations: 39.77 kB / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.003863, allocations: 91.48 kB / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.004019, allocations: 87.53 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.004147, allocations: 103.7 kB / 329.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.004219, allocations: 7.984 kB / 329.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.004299, allocations: 59.78 kB / 329.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.004364, allocations: 31.89 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.004376, allocations: 4 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.004445, allocations: 39.94 kB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.004483, allocations: 19.92 kB / 329.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.004514, allocations: 23.91 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004653, allocations: 99.59 kB / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004655, allocations: 0 / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004655, allocations: 0 / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004659, allocations: 0 / 329.5 MB, free: 12.48 MB / 314.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.0003148/0.004974, allocations: 324.2 kB / 329.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.005002, allocations: 12.03 kB / 329.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.00503, allocations: 12.92 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005162, allocations: 143.7 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005177, allocations: 4.375 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.005192, allocations: 8.375 kB / 330 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.33e-05/0.005285, allocations: 61.77 kB / 330 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.005294, allocations: 192 / 330 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.0053, allocations: 4.375 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005306, allocations: 3.938 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.005329, allocations: 11.92 kB / 330 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005517, allocations: 169.9 kB / 330.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.005597, allocations: 89.34 kB / 330.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.005614, allocations: 8.859 kB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.005625, allocations: 4 kB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.769e-05/0.005703, allocations: 54.22 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.005704, allocations: 7.938 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002652/0.005969, allocations: 113.5 kB / 330.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.005994, allocations: 59.34 kB / 330.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.006087, allocations: 181 kB / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.0061, allocations: 29.7 kB / 330.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.006129, allocations: 96.11 kB / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.006151, allocations: 23.77 kB / 330.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.00618, allocations: 21.72 kB / 330.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.006255, allocations: 330.8 kB / 331.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.006273, allocations: 18.81 kB / 331.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.006293, allocations: 17.72 kB / 331.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.006332, allocations: 44.45 kB / 331.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006332, allocations: 4 kB / 331.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.023e-05/0.006403, allocations: 68.56 kB / 331.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.006414, allocations: 11.92 kB / 331.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006419, allocations: 3.984 kB / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.00643, allocations: 0 / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.006484, allocations: 19.94 kB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.006486, allocations: 0 / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.006511, allocations: 8 kB / 331.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.006517, allocations: 4.359 kB / 331.4 MB, free: 10.36 MB / 314.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.511e-05/0.006572, allocations: 116.7 kB / 331.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.006584, allocations: 15.95 kB / 331.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.006676, allocations: 75.27 kB / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006678, allocations: 0 / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.00668, allocations: 4 kB / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.006683, allocations: 0 / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.006885, allocations: 295.4 kB / 331.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006888, allocations: 7.922 kB / 331.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.006911, allocations: 8 kB / 331.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006913, allocations: 0 / 331.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006919, allocations: 11.97 kB / 331.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006919, allocations: 0 / 331.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00692, allocations: 0 / 331.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.007016, allocations: 223.1 kB / 332.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007027, allocations: 11.89 kB / 332.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.00704, allocations: 4 kB / 332.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.007077, allocations: 4 kB / 332.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.007106, allocations: 7.984 kB / 332.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.007117, allocations: 4 kB / 332.2 MB, free: 9.523 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.007157, allocations: 51.64 kB / 332.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007157, allocations: 0 / 332.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.007294, allocations: 27.94 kB / 332.2 MB, free: 9.441 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.001214/0.008508, allocations: 0.5508 MB / 332.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.008596, allocations: 52.72 kB / 332.8 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0086, allocations: 0 / 332.8 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.008628, allocations: 25 kB / 332.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.008799, allocations: 50.55 kB / 332.9 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.009069, allocations: 219.1 kB / 333.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.009105, allocations: 67.33 kB / 333.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.009137, allocations: 9.109 kB / 333.2 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.009197, allocations: 75.34 kB / 333.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009197, allocations: 0 / 333.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of Templates: time 0.004094/0.01329, allocations: 2.026 MB / 335.3 MB, free: 6.566 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.9453828409314156]