Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0009349/0.0009349, 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.001067/0.001067, allocations: 163.3 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.9478/0.9478, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.948e-05, allocations: 6.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002817/0.002837, allocations: 2.879 MB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.004479, allocations: 1.401 MB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.004615, allocations: 7.938 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.004999, allocations: 175.1 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.005402, allocations: 262.4 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.005656, allocations: 147.4 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.006021, allocations: 485.6 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.00615, allocations: 66.94 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.006355, allocations: 263.4 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.006533, allocations: 159.6 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.006567, allocations: 28 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.006666, allocations: 75.86 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.006742, allocations: 91.61 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.006837, allocations: 127.7 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.00716, allocations: 342.7 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.007163, allocations: 8 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007164, allocations: 0 / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.007168, allocations: 0 / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005705/0.007739, allocations: 0.608 MB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.007767, allocations: 11.98 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.007822, allocations: 44.89 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.008071, allocations: 248 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.008091, allocations: 20.88 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.008125, allocations: 32.36 kB / 280.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.008436, allocations: 0.5419 MB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008446, allocations: 8.109 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.008463, allocations: 8.375 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.008469, allocations: 7.938 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.008556, allocations: 70.22 kB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.009176, allocations: 462.9 kB / 281.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.009323, allocations: 153.2 kB / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.009367, allocations: 36.84 kB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.009384, allocations: 4 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.009512, allocations: 157.5 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.009513, allocations: 0 / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003139/0.009827, allocations: 187.7 kB / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/0.009925, allocations: 312.4 kB / 282.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01014, allocations: 364.9 kB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.01016, allocations: 29.7 kB / 283.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.01023, allocations: 161.4 kB / 283.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.01027, allocations: 83.3 kB / 283.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01033, allocations: 57.69 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.01054, allocations: 354.7 kB / 283.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.01058, allocations: 30.81 kB / 283.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01072, allocations: 385 kB / 284.1 MB, free: 5.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.01082, allocations: 114 kB / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01082, allocations: 0 / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001728/0.011, allocations: 165.2 kB / 284.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01101, allocations: 4 kB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01101, allocations: 4 kB / 284.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.226e-05/0.01109, allocations: 20.78 kB / 284.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.0112, allocations: 56.06 kB / 284.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006948/0.0119, allocations: 1.249 MB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.012, allocations: 31.77 kB / 285.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.012, allocations: 4 kB / 285.8 MB, free: 4.195 MB / 266.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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.0121, allocations: 136.6 kB / 285.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01213, allocations: 35.91 kB / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.01231, allocations: 162.7 kB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01232, allocations: 4 kB / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01232, allocations: 0 / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002027/0.01252, allocations: 0.494 MB / 286.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.0129, allocations: 473.4 kB / 287.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01291, allocations: 0 / 287.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01302, allocations: 51.91 kB / 287.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01302, allocations: 7.938 kB / 287.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01303, allocations: 4 kB / 287.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01303, allocations: 0 / 287.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01303, allocations: 4 kB / 287.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.01323, allocations: 313.9 kB / 287.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.0133, allocations: 43.69 kB / 287.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.01332, allocations: 8 kB / 287.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.01342, allocations: 15.98 kB / 287.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.01345, allocations: 20 kB / 287.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.01346, allocations: 4 kB / 287.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01358, allocations: 159.5 kB / 287.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 0 / 287.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01379, allocations: 95.89 kB / 287.8 MB, free: 2.012 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001006/0.0148, allocations: 0.504 MB / 288.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01509, allocations: 251.4 kB / 288.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.0151, allocations: 7.938 kB / 288.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.01516, allocations: 57.16 kB / 288.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01544, allocations: 113 kB / 288.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01648, allocations: 0.6929 MB / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.01654, allocations: 101.3 kB / 289.5 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.11e-05/0.01663, allocations: 46.94 kB / 289.5 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.01685, allocations: 169.3 kB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01685, allocations: 0 / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of Templates: time 0.008243/0.02509, allocations: 6.976 MB / 296.7 MB, free: 9.398 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.836783234961331]