Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001099/0.001099, allocations: 84.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.001227/0.001227, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.047 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.3004/0.3004, allocations: 34.86 MB / 296.6 MB, free: 400 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 326 MB, free: 7.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.904e-05, allocations: 8.547 kB / 326 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003344/0.003374, allocations: 1.764 MB / 327.8 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.004984, allocations: 0.994 MB / 328.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.005066, allocations: 0 / 328.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.005375, allocations: 63.66 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.005697, allocations: 103.5 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.005914, allocations: 79.59 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.006104, allocations: 104.4 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.006153, allocations: 16.2 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.006275, allocations: 59.77 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.006379, allocations: 39.89 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.006397, allocations: 4 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.006484, allocations: 35.92 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.006534, allocations: 19.92 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.006575, allocations: 19.88 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.006754, allocations: 91.66 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006756, allocations: 0 / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006757, allocations: 0 / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006761, allocations: 0 / 329.4 MB, free: 3.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000402/0.007163, allocations: 309.7 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.007198, allocations: 11.97 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.007231, allocations: 4.938 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.00742, allocations: 158.2 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.007438, allocations: 384 / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.007448, allocations: 4.375 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.007568, allocations: 65.77 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.007577, allocations: 192 / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.007583, allocations: 384 / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.00759, allocations: 3.938 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.007616, allocations: 4 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.007747, allocations: 66.69 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.007844, allocations: 45.38 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.007866, allocations: 12.8 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.007877, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.007983, allocations: 66.2 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.007984, allocations: 0 / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001336/0.008118, allocations: 61.61 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.008154, allocations: 55.41 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.008292, allocations: 177.2 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.008307, allocations: 25.7 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.00834, allocations: 92.11 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.008376, allocations: 23.83 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.00841, allocations: 17.7 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.008505, allocations: 326.8 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.008524, allocations: 10.83 kB / 330.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.008549, allocations: 17.72 kB / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.008606, allocations: 43.28 kB / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.008609, allocations: 0 / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.941e-05/0.008698, allocations: 56.75 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008711, allocations: 4 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.00872, allocations: 8.062 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.008734, allocations: 0 / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.008804, allocations: 11.94 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008808, allocations: 8.016 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.008848, allocations: 11.94 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008854, allocations: 0 / 331.1 MB, free: 1.75 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 (7): * Single equations (assignments): 7 * 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 7.211e-05/0.008926, allocations: 112.7 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.008943, allocations: 7.984 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.009056, allocations: 70.77 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009058, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.00906, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.009064, allocations: 3.938 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.009159, allocations: 77.88 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009161, allocations: 8 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.009188, allocations: 4 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00919, allocations: 0 / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.009196, allocations: 0 / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.009199, allocations: 3.984 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0092, allocations: 3.938 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.009296, allocations: 94.69 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.009319, allocations: 19.89 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.009337, allocations: 0 / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.009369, allocations: 0 / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.009398, allocations: 11.92 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.009412, allocations: 8 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.009472, allocations: 51.64 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009472, allocations: 0 / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.009668, allocations: 19.94 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001637/0.0113, allocations: 0.494 MB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.0114, allocations: 32.78 kB / 332.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.0114, allocations: 0 / 332.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.01144, allocations: 16.86 kB / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01161, allocations: 39.95 kB / 332.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01198, allocations: 187.1 kB / 332.3 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01202, allocations: 67.33 kB / 332.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.01207, allocations: 8.5 kB / 332.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.01215, allocations: 71.36 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01215, allocations: 0 / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of Templates: time 0.004435/0.01659, allocations: 1.771 MB / 334.3 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.0693126376718283]