Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001119/0.001119, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002742, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001022/0.001022, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002385, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9579/0.9579, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0968/1.055, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.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.2709/0.2709, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02415/0.295, allocations: 13.24 MB / 292.8 MB, free: 6.367 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.478e-05, allocations: 4 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003791/0.003816, allocations: 2.006 MB / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.005602, allocations: 1.056 MB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005733, allocations: 7.938 kB / 297.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.006023, allocations: 55.56 kB / 297.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.006342, allocations: 95.36 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.006617, allocations: 103.5 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.006865, allocations: 139.6 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.006965, allocations: 22.45 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.007113, allocations: 115.6 kB / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.007203, allocations: 35.89 kB / 297.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.007221, allocations: 8 kB / 297.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.007308, allocations: 43.98 kB / 297.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.007362, allocations: 31.86 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.0074, allocations: 19.94 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.007603, allocations: 127.4 kB / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711e-05/0.00762, allocations: 0 / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007622, allocations: 0 / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.007634, allocations: 0 / 298 MB, free: 1.121 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004967/0.008131, allocations: 410.5 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.008162, allocations: 8.922 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.008204, allocations: 16.92 kB / 298.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.008406, allocations: 170.3 kB / 298.6 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.008426, allocations: 4.375 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.008449, allocations: 8.375 kB / 298.6 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.008669, allocations: 140.6 kB / 298.8 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.008678, allocations: 4.125 kB / 298.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008689, allocations: 384 / 298.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008696, allocations: 7.938 kB / 298.8 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.008732, allocations: 22.06 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.009065, allocations: 378.1 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.009221, allocations: 105.2 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.009245, allocations: 24.8 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.009255, allocations: 0 / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.009359, allocations: 99.78 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.00936, allocations: 0 / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001243/0.009485, allocations: 78.53 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.009507, allocations: 59.41 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.009615, allocations: 188.1 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.009629, allocations: 25.7 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.009675, allocations: 104 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.009694, allocations: 35.72 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.009727, allocations: 33.7 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.009802, allocations: 330.8 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.009823, allocations: 10.83 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.009855, allocations: 48.27 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.009919, allocations: 77.55 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009921, allocations: 0 / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001019/0.01002, allocations: 92.31 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01004, allocations: 7.984 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01004, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01005, allocations: 4 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.01012, allocations: 20 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01013, allocations: 8.109 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.01016, allocations: 15.95 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01017, allocations: 0 / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.965e-05/0.01024, allocations: 124.6 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.01025, allocations: 11.92 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.01036, allocations: 83.06 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01036, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01036, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.01037, allocations: 0 / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.479e-05/0.01045, allocations: 105.7 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01045, allocations: 4 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.01051, allocations: 16 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.01052, allocations: 19.88 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01052, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01053, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01053, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01054, allocations: 4 kB / 300.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.01065, allocations: 114.7 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.01066, allocations: 11.92 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.01069, allocations: 4 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.01072, allocations: 12.02 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.01073, allocations: 4 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.01077, allocations: 57.7 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01077, allocations: 0 / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001316/0.0109, allocations: 35.88 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00123/0.01213, allocations: 0.5419 MB / 301.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01225, allocations: 57 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.01226, allocations: 4 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.01231, allocations: 32.84 kB / 301.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01256, allocations: 239.4 kB / 302 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.0131, allocations: 265.7 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.01314, allocations: 67.84 kB / 302.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.01319, allocations: 17.58 kB / 302.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.01328, allocations: 75.36 kB / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01328, allocations: 0 / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004241/0.01752, allocations: 2.236 MB / 304.6 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9527850104495883]