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.0009957/0.0009957, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001094/0.001094, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.9499/0.9499, allocations: 177 MB / 205.1 MB, free: 5.484 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.943e-06/1.943e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.043e-05, allocations: 2.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004755/0.004786, allocations: 2.87 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.007408, allocations: 1.371 MB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.007673, allocations: 7.938 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.008146, allocations: 175.1 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.008657, allocations: 262.4 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.008936, allocations: 139.5 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.009392, allocations: 485.6 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.009538, allocations: 68.31 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.009797, allocations: 267.4 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.01, allocations: 167.6 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.01005, allocations: 28 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.01017, allocations: 71.92 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.01025, allocations: 91.61 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.01035, allocations: 131.7 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.01068, allocations: 342.7 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01068, allocations: 0 / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01069, allocations: 0 / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.01069, allocations: 4 kB / 279.7 MB, free: 10.78 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.0006759/0.01137, allocations: 0.7405 MB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.0114, allocations: 15.98 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.01147, allocations: 60.66 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.01173, allocations: 278.7 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.01176, allocations: 20.86 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.01179, allocations: 24.38 kB / 280.9 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.01215, allocations: 0.5774 MB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01216, allocations: 192 / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.01217, allocations: 8.375 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.01218, allocations: 11.88 kB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.01227, allocations: 71.42 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.01298, allocations: 0.6105 MB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.01314, allocations: 131.4 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.01319, allocations: 43.78 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.0132, allocations: 8 kB / 282.3 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.01334, allocations: 156.3 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.01334, allocations: 0 / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003812/0.01372, allocations: 250.3 kB / 282.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.01382, allocations: 328.4 kB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.01405, allocations: 406.6 kB / 283.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.01407, allocations: 33.7 kB / 283.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.01419, allocations: 267.1 kB / 283.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.01424, allocations: 83.27 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.0143, allocations: 63.33 kB / 283.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01443, allocations: 0.5351 MB / 284.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.01447, allocations: 27.97 kB / 284.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.01463, allocations: 428.5 kB / 284.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.01474, allocations: 122.6 kB / 285 MB, free: 5.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01474, allocations: 0 / 285 MB, free: 5.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002225/0.01497, allocations: 216.9 kB / 285.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01498, allocations: 7.125 kB / 285.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01499, allocations: 0 / 285.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.559e-05/0.01506, allocations: 31.61 kB / 285.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01518, allocations: 55.91 kB / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000838/0.01602, allocations: 1.811 MB / 287.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01612, allocations: 23.88 kB / 287.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.01613, allocations: 4 kB / 287.1 MB, free: 2.73 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.965e-05/0.01623, allocations: 183.9 kB / 287.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.01627, allocations: 59.66 kB / 287.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.01648, allocations: 205.5 kB / 287.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01648, allocations: 4 kB / 287.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01648, allocations: 0 / 287.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002348/0.01672, allocations: 0.5368 MB / 288.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.01717, allocations: 0.5634 MB / 288.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01718, allocations: 0 / 288.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01729, allocations: 47.92 kB / 288.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01729, allocations: 7.984 kB / 288.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01731, allocations: 11.98 kB / 288.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01731, allocations: 0 / 288.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01731, allocations: 0 / 288.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.01755, allocations: 367.4 kB / 289.1 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.01762, allocations: 55.73 kB / 289.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.01765, allocations: 8 kB / 289.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01775, allocations: 19.98 kB / 289.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.01778, allocations: 19.77 kB / 289.2 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.0178, allocations: 12.03 kB / 289.2 MB, free: 472 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.01793, allocations: 271 kB / 289.5 MB, free: 200 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01793, allocations: 0 / 289.5 MB, free: 200 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01817, allocations: 99.83 kB / 289.6 MB, free: 100 kB / 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.0007343/0.01891, allocations: 380.3 kB / 289.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.01922, allocations: 321.3 kB / 290.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01922, allocations: 4 kB / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.01928, allocations: 63.98 kB / 290.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01961, allocations: 113.8 kB / 290.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02069, allocations: 0.708 MB / 291.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.02075, allocations: 97.3 kB / 291.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02086, allocations: 46.94 kB / 291.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.0211, allocations: 214.1 kB / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0211, allocations: 4 kB / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Templates: time 0.008967/0.03006, allocations: 6.974 MB / 298.5 MB, free: 7.402 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.7942529590800405]