Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2494, allocations: 50.54 MB / 410.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004342/0.2538, allocations: 2.888 MB / 413.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2561, allocations: 1.402 MB / 414.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2563, allocations: 0 / 414.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.2568, allocations: 183.1 kB / 414.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.2574, allocations: 250.6 kB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.2578, allocations: 139.5 kB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.2583, allocations: 461.9 kB / 415.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2585, allocations: 67.81 kB / 415.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2587, allocations: 187.3 kB / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.259, allocations: 219.1 kB / 415.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.2591, allocations: 28 kB / 416 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.2592, allocations: 71.98 kB / 416 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2593, allocations: 87.61 kB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.2595, allocations: 195 kB / 416.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.2601, allocations: 485.8 kB / 416.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2601, allocations: 4 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2601, allocations: 4 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2601, allocations: 0 / 416.8 MB, free: 10.82 MB / 334.1 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.00114/0.2613, allocations: 0.7197 MB / 417.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2613, allocations: 12.03 kB / 417.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.2614, allocations: 48.66 kB / 417.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.2619, allocations: 351 kB / 417.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.262, allocations: 12.81 kB / 417.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.262, allocations: 28.11 kB / 418 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.2625, allocations: 289.5 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2625, allocations: 0 / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.2625, allocations: 8 kB / 418.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2626, allocations: 4 kB / 418.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.2629, allocations: 153.6 kB / 418.4 MB, free: 9.086 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.2643, allocations: 0.8169 MB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.2648, allocations: 176.6 kB / 419.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2649, allocations: 68.84 kB / 419.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2649, allocations: 15.91 kB / 419.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.2652, allocations: 139.2 kB / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.2652, allocations: 0 / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.00084/0.266, allocations: 407.6 kB / 420 MB, free: 7.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.2662, allocations: 316.4 kB / 420.3 MB, free: 6.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.2667, allocations: 453.5 kB / 420.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2668, allocations: 29.7 kB / 420.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.2669, allocations: 208.4 kB / 421 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.267, allocations: 79.28 kB / 421.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.2671, allocations: 57.7 kB / 421.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2673, allocations: 350.8 kB / 421.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2674, allocations: 59.98 kB / 421.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.2676, allocations: 176 kB / 421.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2679, allocations: 172 kB / 421.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2679, allocations: 7.938 kB / 421.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000471/0.2684, allocations: 274 kB / 422.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2684, allocations: 7.984 kB / 422.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2684, allocations: 0 / 422.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.2686, allocations: 32.83 kB / 422.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2688, allocations: 64 kB / 422.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.2704, allocations: 1.57 MB / 423.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2706, allocations: 23.84 kB / 423.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2706, allocations: 12 kB / 423.9 MB, free: 3.191 MB / 334.1 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.0001907/0.2708, allocations: 165.8 kB / 424 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.2709, allocations: 39.77 kB / 424.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.2709, allocations: 47.53 kB / 424.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2709, allocations: 7.938 kB / 424.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2709, allocations: 0 / 424.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/0.2715, allocations: 0.5828 MB / 424.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.2725, allocations: 0.7078 MB / 425.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2725, allocations: 0 / 425.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.2727, allocations: 39.98 kB / 425.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2727, allocations: 4 kB / 425.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2727, allocations: 7.984 kB / 425.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2727, allocations: 0 / 425.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2727, allocations: 0 / 425.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.2733, allocations: 413.8 kB / 425.9 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2734, allocations: 148.8 kB / 426 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.2735, allocations: 8 kB / 426 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2737, allocations: 11.98 kB / 426 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.2737, allocations: 23.77 kB / 426 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2737, allocations: 4 kB / 426.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.2741, allocations: 323.2 kB / 426.4 MB, free: 492 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2741, allocations: 4 kB / 426.4 MB, free: 488 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.2745, allocations: 88.03 kB / 426.5 MB, free: 400 kB / 334.1 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 (23): * Single equations (assignments): 21 * 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.001475/0.2759, allocations: 420.8 kB / 426.9 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.2766, allocations: 302.5 kB / 427.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2766, allocations: 4.188 kB / 427.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.2768, allocations: 75.91 kB / 427.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.2773, allocations: 109.3 kB / 427.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2788, allocations: 0.7992 MB / 428.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2792, allocations: 0.8037 MB / 429 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.2794, allocations: 46.88 kB / 429 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.2795, allocations: 39.42 kB / 429 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2795, allocations: 0 / 429 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Templates: time 0.01247/0.2919, allocations: 6.211 MB / 435.2 MB, free: 7.785 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches