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.001112/0.001112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002615, 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.0007291/0.0007291, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009261/0.001655, 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.9362/0.9362, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08173/1.018, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.673e-06/1.673e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.532e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004622/0.004647, allocations: 2.931 MB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.007235, allocations: 1.417 MB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.007473, allocations: 11.88 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.007971, allocations: 187 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.008598, allocations: 246.5 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.008971, allocations: 147.4 kB / 249.9 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.009483, allocations: 481.6 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.009912, allocations: 78.88 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.01026, allocations: 327.7 kB / 250.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.01045, allocations: 155.6 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.01048, allocations: 32 kB / 251 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.0106, allocations: 67.92 kB / 251 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.01067, allocations: 71.73 kB / 251.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.01077, allocations: 107.8 kB / 251.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.01111, allocations: 318.8 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.01112, allocations: 0 / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01112, allocations: 0 / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01114, allocations: 0 / 251.5 MB, free: 7.109 MB / 250.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.0006942/0.01183, allocations: 0.6975 MB / 252.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.01187, allocations: 12.56 kB / 252.2 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.01193, allocations: 48.89 kB / 252.3 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.01218, allocations: 251.9 kB / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.0122, allocations: 12.88 kB / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.01224, allocations: 28.38 kB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.01256, allocations: 0.5458 MB / 253.1 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01257, allocations: 192 / 253.1 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.01258, allocations: 12.38 kB / 253.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.01259, allocations: 7.938 kB / 253.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.01268, allocations: 66.27 kB / 253.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.01331, allocations: 474.9 kB / 253.7 MB, free: 4.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.01346, allocations: 149.2 kB / 253.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.0135, allocations: 44.78 kB / 253.9 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.01353, allocations: 4 kB / 253.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.01367, allocations: 157.5 kB / 254 MB, free: 4.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.01367, allocations: 0 / 254 MB, free: 4.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003293/0.014, allocations: 183.9 kB / 254.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.01403, allocations: 59.41 kB / 254.2 MB, free: 4.133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.01424, allocations: 357 kB / 254.6 MB, free: 3.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.01426, allocations: 33.7 kB / 254.6 MB, free: 3.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.01432, allocations: 161.3 kB / 254.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.01437, allocations: 87.25 kB / 254.9 MB, free: 3.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.01442, allocations: 57.67 kB / 254.9 MB, free: 3.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.01451, allocations: 354.7 kB / 255.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.01454, allocations: 30.81 kB / 255.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.0147, allocations: 377 kB / 255.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.0148, allocations: 110.7 kB / 255.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0148, allocations: 0 / 255.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001729/0.01498, allocations: 173.1 kB / 255.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01499, allocations: 4 kB / 256 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.015, allocations: 7.938 kB / 256 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.682e-05/0.01507, allocations: 24.84 kB / 256 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.01524, allocations: 79.81 kB / 256.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.01596, allocations: 1.245 MB / 257.3 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.01606, allocations: 23.84 kB / 257.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.01607, allocations: 4 kB / 257.3 MB, free: 0.7852 MB / 250.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 0.0003368/0.01641, allocations: 143.7 kB / 257.5 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.01644, allocations: 35.91 kB / 257.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01661, allocations: 167.3 kB / 257.7 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01661, allocations: 0 / 257.7 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01662, allocations: 0 / 257.7 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002072/0.01682, allocations: 0.5009 MB / 258.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.01719, allocations: 473.3 kB / 258.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.0172, allocations: 0 / 258.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.01736, allocations: 71.94 kB / 258.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.01742, allocations: 35.77 kB / 258.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01742, allocations: 3.984 kB / 258.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01743, allocations: 8 kB / 258.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01744, allocations: 0 / 258.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01744, allocations: 3.938 kB / 258.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.01764, allocations: 313.9 kB / 259.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.01767, allocations: 8 kB / 259.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.01776, allocations: 15.98 kB / 259.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.01779, allocations: 20 kB / 259.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.0178, allocations: 8 kB / 259.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01791, allocations: 155.5 kB / 259.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01791, allocations: 0 / 259.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.01813, allocations: 99.83 kB / 259.4 MB, free: 14.59 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.001163/0.01929, allocations: 0.5417 MB / 259.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.01958, allocations: 255.8 kB / 260.2 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.01959, allocations: 8 kB / 260.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.01966, allocations: 60.62 kB / 260.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01995, allocations: 150 kB / 260.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.02414, allocations: 0.6705 MB / 261 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.0242, allocations: 105.2 kB / 261.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.02431, allocations: 38.95 kB / 261.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.02454, allocations: 181.2 kB / 261.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02454, allocations: 4 kB / 261.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Templates: time 0.009134/0.03367, allocations: 7.756 MB / 269.1 MB, free: 5.148 MB / 266.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 -ignoreHideResult -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.5969736305996776]