Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 108.6 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008315/0.0008316, allocations: 43.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2059, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003587/0.2095, allocations: 3.77 MB / 403.2 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2109, allocations: 0.9935 MB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.2112, allocations: 8 kB / 404.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.2115, allocations: 83.38 kB / 404.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.2119, allocations: 182.5 kB / 404.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2121, allocations: 119.9 kB / 404.6 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.2126, allocations: 0.6807 MB / 405.3 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2128, allocations: 193.1 kB / 405.5 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.213, allocations: 247 kB / 405.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2132, allocations: 294.6 kB / 406 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.2132, allocations: 44 kB / 406.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.2133, allocations: 40 kB / 406.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.2134, allocations: 107.6 kB / 406.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2136, allocations: 310.4 kB / 406.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.214, allocations: 0.689 MB / 407.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.214, allocations: 0 / 407.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.214, allocations: 0 / 407.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.214, allocations: 0 / 407.2 MB, free: 25.61 MB / 298.7 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.001219/0.2152, allocations: 0.9248 MB / 408.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2153, allocations: 8.031 kB / 408.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.2154, allocations: 68.19 kB / 408.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.2159, allocations: 430.8 kB / 408.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.2161, allocations: 91.16 kB / 408.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.2161, allocations: 28.38 kB / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.2168, allocations: 0.5216 MB / 409.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2169, allocations: 0 / 409.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2169, allocations: 16 kB / 409.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2169, allocations: 8 kB / 409.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.2177, allocations: 383.7 kB / 409.6 MB, free: 22.99 MB / 298.7 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.001547/0.2193, allocations: 1.347 MB / 411 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.2201, allocations: 469.9 kB / 411.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.2205, allocations: 206.2 kB / 411.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.2205, allocations: 8 kB / 411.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2205, allocations: 38.56 kB / 411.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.2205, allocations: 0 / 411.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001455/0.222, allocations: 0.7915 MB / 412.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.2221, allocations: 441 kB / 412.9 MB, free: 19.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.2225, allocations: 485.9 kB / 413.4 MB, free: 18.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.2225, allocations: 33.7 kB / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2226, allocations: 252.4 kB / 413.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.2227, allocations: 130 kB / 413.8 MB, free: 18.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2228, allocations: 73.7 kB / 413.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.2229, allocations: 362.8 kB / 414.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.2232, allocations: 163.8 kB / 414.4 MB, free: 17.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.2237, allocations: 302.4 kB / 414.7 MB, free: 17.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.2244, allocations: 374.8 kB / 415.1 MB, free: 17.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2244, allocations: 0 / 415.1 MB, free: 17.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009355/0.2254, allocations: 0.5271 MB / 415.6 MB, free: 16.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2254, allocations: 33.7 kB / 415.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2254, allocations: 0 / 415.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.2256, allocations: 49.7 kB / 415.7 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.226, allocations: 91.86 kB / 415.7 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.2275, allocations: 2.736 MB / 418.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.2279, allocations: 63.69 kB / 418.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.228, allocations: 16 kB / 418.6 MB, free: 13.39 MB / 298.7 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.0001528/0.2281, allocations: 181.6 kB / 418.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.2282, allocations: 55.34 kB / 418.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/0.2283, allocations: 52.94 kB / 418.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2283, allocations: 4 kB / 418.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2283, allocations: 3.984 kB / 418.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008429/0.2292, allocations: 0.7546 MB / 419.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2306, allocations: 1.083 MB / 420.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2306, allocations: 0 / 420.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.231, allocations: 99.86 kB / 420.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2311, allocations: 4 kB / 420.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.2311, allocations: 4 kB / 420.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2311, allocations: 12 kB / 420.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2311, allocations: 0 / 420.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.2364, allocations: 3.388 MB / 424.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.2365, allocations: 172.3 kB / 424.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.2366, allocations: 12 kB / 424.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.237, allocations: 40.02 kB / 424.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.2371, allocations: 19.97 kB / 424.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2371, allocations: 19.92 kB / 424.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.2374, allocations: 338.9 kB / 424.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2374, allocations: 0 / 424.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.2379, allocations: 195.8 kB / 425 MB, free: 6.637 MB / 298.7 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 9.389e-05/0.238, allocations: 111.2 kB / 425.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2391, allocations: 0.6722 MB / 425.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2391, allocations: 0 / 425.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.2395, allocations: 203.9 kB / 426 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.2402, allocations: 139.8 kB / 426.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2417, allocations: 1.363 MB / 427.5 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2419, allocations: 0.8397 MB / 428.3 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.2422, allocations: 76.52 kB / 428.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.2424, allocations: 47.44 kB / 428.4 MB, free: 3.078 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2424, allocations: 4 kB / 428.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of Templates: time 0.01573/0.2581, allocations: 9.456 MB / 437.9 MB, free: 9.766 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches