Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 118.6 kB / 18.45 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.001266/0.001266, allocations: 211.7 kB / 19.41 MB, free: 3.664 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.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.24 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.001902/0.001902, allocations: 59.91 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2374, allocations: 50.55 MB / 410.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004938/0.2423, allocations: 3.777 MB / 414 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2441, allocations: 1.024 MB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.2443, allocations: 15.94 kB / 415 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.2447, allocations: 107 kB / 415.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.2451, allocations: 206.3 kB / 415.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2453, allocations: 139.8 kB / 415.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.2461, allocations: 0.7003 MB / 416.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.2463, allocations: 142.8 kB / 416.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.2466, allocations: 271 kB / 416.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.247, allocations: 310.6 kB / 416.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.531e-05/0.247, allocations: 56 kB / 416.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.2471, allocations: 64 kB / 417 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2473, allocations: 131.5 kB / 417.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.2476, allocations: 326.4 kB / 417.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.2483, allocations: 0.7236 MB / 418.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2483, allocations: 0 / 418.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2483, allocations: 0 / 418.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2483, allocations: 0 / 418.1 MB, free: 9.48 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001622/0.25, allocations: 0.9283 MB / 419.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.25, allocations: 15.97 kB / 419.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2501, allocations: 68.52 kB / 419.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.2509, allocations: 451.1 kB / 419.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.251, allocations: 67.25 kB / 419.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.2511, allocations: 32.38 kB / 419.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.2519, allocations: 0.4944 MB / 420.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.252, allocations: 0 / 420.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.252, allocations: 16 kB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.252, allocations: 8 kB / 420.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.2529, allocations: 363.7 kB / 420.6 MB, free: 6.902 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.002152/0.255, allocations: 1.336 MB / 421.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.256, allocations: 436.2 kB / 422.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.2564, allocations: 172.8 kB / 422.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.2564, allocations: 7.984 kB / 422.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2565, allocations: 42.31 kB / 422.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2565, allocations: 0 / 422.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001713/0.2582, allocations: 0.7401 MB / 423.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/0.2584, allocations: 452.9 kB / 423.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.259, allocations: 478 kB / 424.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.2591, allocations: 37.7 kB / 424.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.2593, allocations: 244.7 kB / 424.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.2594, allocations: 130.8 kB / 424.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2596, allocations: 85.59 kB / 424.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2598, allocations: 358.8 kB / 425 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.2602, allocations: 143.9 kB / 425.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.2607, allocations: 290.4 kB / 425.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.2615, allocations: 358.6 kB / 425.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2615, allocations: 0 / 425.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001052/0.2626, allocations: 496.1 kB / 426.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.2626, allocations: 33.14 kB / 426.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2626, allocations: 7.969 kB / 426.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.2628, allocations: 53.69 kB / 426.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.2632, allocations: 83.88 kB / 426.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.266, allocations: 2.966 MB / 429.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.2664, allocations: 59.67 kB / 429.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2664, allocations: 8 kB / 429.5 MB, free: 13.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.2666, allocations: 181.7 kB / 429.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2667, allocations: 63.61 kB / 429.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2668, allocations: 52.94 kB / 429.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2669, allocations: 4 kB / 429.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2669, allocations: 7.938 kB / 429.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.2679, allocations: 0.7475 MB / 430.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.2696, allocations: 1.029 MB / 431.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2696, allocations: 7.922 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.2701, allocations: 91.94 kB / 431.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2701, allocations: 4 kB / 431.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.2701, allocations: 7.938 kB / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2701, allocations: 4 kB / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2702, allocations: 0 / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.2715, allocations: 0.6686 MB / 432.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.2717, allocations: 184.5 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.2718, allocations: 12 kB / 432.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.2722, allocations: 32.03 kB / 432.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.2723, allocations: 19.97 kB / 432.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.2723, allocations: 12 kB / 432.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.2727, allocations: 342.9 kB / 432.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2727, allocations: 0 / 432.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004589/0.2732, allocations: 135.9 kB / 433.1 MB, free: 9.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0001358/0.2733, allocations: 111.2 kB / 433.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2746, allocations: 0.6331 MB / 433.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2746, allocations: 4 kB / 433.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.275, allocations: 175.8 kB / 434 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.2757, allocations: 152 kB / 434.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2774, allocations: 0.9722 MB / 435.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.2778, allocations: 0.8354 MB / 436 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.2781, allocations: 64.53 kB / 436 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2782, allocations: 47.44 kB / 436.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2782, allocations: 0 / 436.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Templates: time 0.01651/0.2947, allocations: 9.136 MB / 445.2 MB, free: 13.4 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches