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.0007923/0.0007923, allocations: 84.86 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.0008482/0.0008482, allocations: 161.8 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 0.9711/0.9711, allocations: 177 MB / 205.2 MB, free: 5.438 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.2797/0.2797, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.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.373e-06/1.373e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.475e-05, allocations: 5.266 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002064/0.002078, allocations: 1.851 MB / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003359, allocations: 1.09 MB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.003435, allocations: 3.938 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.003838, allocations: 303.1 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.004223, allocations: 271 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.004436, allocations: 103.6 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.004679, allocations: 271.9 kB / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.004721, allocations: 18.44 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004864, allocations: 151.6 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.005018, allocations: 167.7 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.005036, allocations: 4 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.005117, allocations: 51.92 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.005216, allocations: 148 kB / 330.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.00528, allocations: 75.61 kB / 330.5 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.005516, allocations: 286.9 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005518, allocations: 0 / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.005518, allocations: 0 / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.005522, allocations: 0 / 330.7 MB, free: 2.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005469/0.006069, allocations: 0.6471 MB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.006097, allocations: 12.03 kB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.006141, allocations: 24.91 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.006393, allocations: 301.9 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.006407, allocations: 384 / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.006419, allocations: 4.375 kB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.00654, allocations: 95.44 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.006547, allocations: 192 / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.006555, allocations: 4.312 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006561, allocations: 7.938 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.006592, allocations: 21.64 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.006722, allocations: 122.2 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006822, allocations: 82.78 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.006849, allocations: 25.72 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.006859, allocations: 4 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.37e-05/0.006953, allocations: 99.81 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 6.31e-07/0.006954, allocations: 0 / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001402/0.007094, allocations: 103.3 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.007128, allocations: 85.05 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.007507, allocations: 0.6062 MB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.007522, allocations: 25.7 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.007579, allocations: 149.3 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.007615, allocations: 39.72 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.007657, allocations: 29.7 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.007787, allocations: 374.7 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.007823, allocations: 10.83 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.007865, allocations: 35.42 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.007934, allocations: 68.31 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007936, allocations: 0 / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001138/0.00805, allocations: 115.3 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.008061, allocations: 4 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.008066, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.008082, allocations: 4 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.008158, allocations: 31.86 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.008162, allocations: 0 / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.008217, allocations: 11.92 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.008224, allocations: 4 kB / 333.8 MB, free: 14.96 MB / 314.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 9.998e-05/0.008324, allocations: 122.1 kB / 334 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.008355, allocations: 27.97 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.008512, allocations: 122 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008516, allocations: 4 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.008518, allocations: 0 / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.008525, allocations: 7.922 kB / 334.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.008675, allocations: 169.5 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008676, allocations: 4 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.008705, allocations: 8 kB / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008707, allocations: 0 / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.008717, allocations: 7.984 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.008719, allocations: 4 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00872, allocations: 4 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.00884, allocations: 135.7 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.008892, allocations: 55.59 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.008925, allocations: 11.98 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.008965, allocations: 4 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.009001, allocations: 11.98 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.009013, allocations: 4 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.009253, allocations: 323.1 kB / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009253, allocations: 0 / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000177/0.00943, allocations: 47.94 kB / 334.9 MB, free: 13.85 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: 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.001148/0.01058, allocations: 0.4988 MB / 335.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01068, allocations: 56.27 kB / 335.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.01069, allocations: 8 kB / 335.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.01072, allocations: 36.72 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.01092, allocations: 71.45 kB / 335.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.01155, allocations: 0.654 MB / 336.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.424e-05/0.01162, allocations: 132.2 kB / 336.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.01168, allocations: 38.97 kB / 336.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.01178, allocations: 95.34 kB / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01178, allocations: 0 / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of Templates: time 0.00612/0.0179, allocations: 4.315 MB / 340.8 MB, free: 8.219 MB / 314.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 -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.9150465158745646]