Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.00126/0.00126, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001908/0.003168, allocations: 449.7 kB / 10.37 MB, free: 324 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.001107/0.001107, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001654/0.002761, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.99/0.99, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08678/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.89 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.2676/0.2676, allocations: 34.87 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02621/0.2938, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.929e-06/1.099e-05, allocations: 4 kB / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001939/0.00195, allocations: 1.89 MB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003247, allocations: 1.105 MB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.003321, allocations: 3.938 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.003637, allocations: 307.1 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.003976, allocations: 255 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.004164, allocations: 111.6 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.0044, allocations: 271.2 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.004436, allocations: 6.469 kB / 297.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.004647, allocations: 217.1 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.004824, allocations: 175.7 kB / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.004844, allocations: 8 kB / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.004928, allocations: 55.8 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.005024, allocations: 136.1 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.005085, allocations: 51.75 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.00533, allocations: 278.9 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.005345, allocations: 0 / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005346, allocations: 4 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.005362, allocations: 0 / 298.8 MB, free: 260 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006999/0.006061, allocations: 0.6984 MB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.006092, allocations: 8.031 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.006141, allocations: 28.91 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.006396, allocations: 301.9 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006413, allocations: 4.375 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.006423, allocations: 4.375 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.006546, allocations: 91.44 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006554, allocations: 12.12 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.006562, allocations: 384 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006567, allocations: 3.938 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.006601, allocations: 17.64 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.006741, allocations: 122.3 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006842, allocations: 78.8 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.006869, allocations: 21.72 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.006879, allocations: 7.938 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.006995, allocations: 111.8 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.006996, allocations: 0 / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001475/0.007143, allocations: 107.2 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.007176, allocations: 77.11 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.007545, allocations: 0.6062 MB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.007562, allocations: 37.69 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.007628, allocations: 145.3 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.007662, allocations: 31.72 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.007698, allocations: 29.7 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.007791, allocations: 370.7 kB / 301.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.007811, allocations: 14.83 kB / 301.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.007845, allocations: 41.41 kB / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.963e-05/0.007904, allocations: 67.83 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007907, allocations: 0 / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001015/0.008008, allocations: 103.2 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.008018, allocations: 4 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.008024, allocations: 12.62 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.008033, allocations: 3.984 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.008114, allocations: 20 kB / 301.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008118, allocations: 3.984 kB / 301.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.008165, allocations: 11.94 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008171, allocations: 4 kB / 301.9 MB, free: 12.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 8.437e-05/0.008256, allocations: 132.5 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.008285, allocations: 39.94 kB / 302.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.008414, allocations: 117.9 kB / 302.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008416, allocations: 4 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.008418, allocations: 3.938 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008423, allocations: 7.938 kB / 302.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.008561, allocations: 165.6 kB / 302.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008563, allocations: 0 / 302.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.008595, allocations: 19.98 kB / 302.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.008641, allocations: 51.66 kB / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008643, allocations: 0 / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.008648, allocations: 0 / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00865, allocations: 4 kB / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008651, allocations: 3.938 kB / 302.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.008755, allocations: 148 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.00878, allocations: 4 kB / 302.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.008816, allocations: 4 kB / 302.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.008845, allocations: 11.98 kB / 302.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.008857, allocations: 3.984 kB / 302.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.009077, allocations: 319.2 kB / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009077, allocations: 0 / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.009229, allocations: 47.92 kB / 303 MB, free: 11.72 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001211/0.01044, allocations: 0.54 MB / 303.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.01055, allocations: 60.28 kB / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.01056, allocations: 8 kB / 303.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.0106, allocations: 36.72 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01081, allocations: 93.44 kB / 303.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/0.01152, allocations: 0.6541 MB / 304.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.214e-05/0.01159, allocations: 132.2 kB / 304.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.01165, allocations: 42.95 kB / 304.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01175, allocations: 99.34 kB / 304.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01175, allocations: 3.938 kB / 304.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Templates: time 0.006145/0.0179, allocations: 4.366 MB / 309 MB, free: 6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.901788824237883]