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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008396, allocations: 89.3 kB / 16.65 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 181.1 kB / 17.57 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002173/0.0002173, allocations: 4 kB / 301.5 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.07923, allocations: 50.41 MB / 351.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003207/0.08247, allocations: 3.399 MB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.08394, allocations: 0.9192 MB / 356.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.08418, allocations: 11.94 kB / 356.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.08445, allocations: 83.44 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.08486, allocations: 178.6 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.08511, allocations: 115.8 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.08574, allocations: 0.6807 MB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.086, allocations: 183.8 kB / 357.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.08627, allocations: 243 kB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.08657, allocations: 278.7 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.08665, allocations: 36 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.08673, allocations: 36 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.08682, allocations: 107.5 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.08708, allocations: 320.2 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.0876, allocations: 0.6693 MB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.08761, allocations: 0 / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08761, allocations: 0 / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.08763, allocations: 0 / 359.2 MB, free: 12.11 MB / 302.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.001262/0.0889, allocations: 0.8315 MB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.08894, allocations: 8.031 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.08906, allocations: 87.61 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.08918, allocations: 68.19 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.08978, allocations: 446.8 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.08999, allocations: 87.22 kB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.09005, allocations: 32.38 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.0909, allocations: 0.5371 MB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.09093, allocations: 3.938 kB / 361.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.09097, allocations: 16 kB / 361.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.09098, allocations: 12 kB / 361.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.0919, allocations: 403.7 kB / 361.7 MB, free: 9.438 MB / 302.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.001831/0.09374, allocations: 1.37 MB / 363 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.09463, allocations: 488 kB / 363.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.09509, allocations: 219.9 kB / 363.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.09513, allocations: 7.938 kB / 363.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.09516, allocations: 38.56 kB / 363.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.09516, allocations: 0 / 363.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.00164/0.09681, allocations: 0.8289 MB / 364.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.09696, allocations: 445 kB / 365 MB, free: 5.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.09742, allocations: 478 kB / 365.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.09747, allocations: 29.7 kB / 365.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.09763, allocations: 248.4 kB / 365.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.09772, allocations: 130 kB / 365.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.09778, allocations: 41.7 kB / 366 MB, free: 4.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.0979, allocations: 358.8 kB / 366.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.09831, allocations: 171.9 kB / 366.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.09882, allocations: 318.3 kB / 366.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.09966, allocations: 394.8 kB / 367.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.09967, allocations: 0 / 367.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001067/0.1007, allocations: 0.5311 MB / 367.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.1008, allocations: 29.7 kB / 367.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1008, allocations: 7.984 kB / 367.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.101, allocations: 53.62 kB / 367.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.1014, allocations: 103.9 kB / 367.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1308/0.2322, allocations: 2.731 MB / 370.6 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.2328, allocations: 73.81 kB / 370.7 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.2328, allocations: 12.11 kB / 370.7 MB, free: 23.01 MB / 302.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.0002105/0.2331, allocations: 174.1 kB / 370.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.2331, allocations: 57.25 kB / 370.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2333, allocations: 56.45 kB / 371 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2333, allocations: 4.75 kB / 371 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2333, allocations: 1.547 kB / 371 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009716/0.2343, allocations: 0.7839 MB / 371.8 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.2359, allocations: 1.099 MB / 372.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2359, allocations: 0.9062 kB / 372.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.2363, allocations: 106.5 kB / 373 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2363, allocations: 1.531 kB / 373 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.2364, allocations: 6.719 kB / 373 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2364, allocations: 1.906 kB / 373 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2364, allocations: 0 / 373 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.2377, allocations: 0.7517 MB / 373.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2379, allocations: 170.7 kB / 373.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.2379, allocations: 10.97 kB / 373.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.2383, allocations: 44.61 kB / 374 MB, free: 21.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.2384, allocations: 28.84 kB / 374 MB, free: 21.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2384, allocations: 7.25 kB / 374 MB, free: 21.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.2388, allocations: 343 kB / 374.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2388, allocations: 0 / 374.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.2392, allocations: 146.5 kB / 374.5 MB, free: 21.68 MB / 302.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.001594/0.2408, allocations: 1.296 MB / 375.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.242, allocations: 0.6987 MB / 376.5 MB, free: 20.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2421, allocations: 1.375 kB / 376.5 MB, free: 20.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.2425, allocations: 210.8 kB / 376.7 MB, free: 20.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.2432, allocations: 131.1 kB / 376.8 MB, free: 20.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/0.2494, allocations: 5.182 MB / 382 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2496, allocations: 0.8376 MB / 382.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.2499, allocations: 66.45 kB / 382.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.2501, allocations: 181.1 kB / 383.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2501, allocations: 0 / 383.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.2718, allocations: 12.91 MB / 396 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.272, allocations: 235.5 kB / 396.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.215, allocations: 64 / 396.2 MB, free: 10.78 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches