Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_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.001397/0.001397, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001497/0.001497, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09078, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005136/0.09595, allocations: 3.744 MB / 378.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.09783, allocations: 1.036 MB / 379.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.09808, allocations: 11.94 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.09848, allocations: 111 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1768/0.2753, allocations: 199.5 kB / 379.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.2758, allocations: 137.2 kB / 379.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.2767, allocations: 0.7091 MB / 380.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.277, allocations: 204 kB / 380.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.2773, allocations: 266.7 kB / 381 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.2776, allocations: 302.2 kB / 381.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.203e-05/0.2777, allocations: 60.06 kB / 381.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2779, allocations: 63.59 kB / 381.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.278, allocations: 135.5 kB / 381.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.2783, allocations: 323.8 kB / 381.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.2791, allocations: 0.7219 MB / 382.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2791, allocations: 0 / 382.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2792, allocations: 0 / 382.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2792, allocations: 1.125 kB / 382.6 MB, free: 9.043 MB / 318.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.001416/0.2806, allocations: 0.9295 MB / 383.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2806, allocations: 9.781 kB / 383.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.2808, allocations: 86.5 kB / 383.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2809, allocations: 72.16 kB / 383.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.2815, allocations: 445.3 kB / 384.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.373e-05/0.2816, allocations: 62.23 kB / 384.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.2817, allocations: 36.19 kB / 384.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.2825, allocations: 0.5074 MB / 384.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2825, allocations: 0.7031 kB / 384.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.2826, allocations: 23.91 kB / 384.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2826, allocations: 8.812 kB / 384.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.2834, allocations: 356.8 kB / 385.1 MB, free: 7.801 MB / 318.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.001874/0.2853, allocations: 1.356 MB / 386.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.2861, allocations: 455.2 kB / 386.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.2865, allocations: 196.8 kB / 387.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.2866, allocations: 7.438 kB / 387.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2866, allocations: 40.44 kB / 387.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.2866, allocations: 1.125 kB / 387.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001656/0.2883, allocations: 0.7408 MB / 387.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.2884, allocations: 452 kB / 388.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.2889, allocations: 477.6 kB / 388.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.289, allocations: 38.27 kB / 388.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2891, allocations: 250.3 kB / 389.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.2892, allocations: 137.9 kB / 389.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2893, allocations: 80.36 kB / 389.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.2894, allocations: 358.5 kB / 389.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2898, allocations: 144.2 kB / 389.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.2903, allocations: 296 kB / 390.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.291, allocations: 345.9 kB / 390.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.291, allocations: 0 / 390.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001001/0.2921, allocations: 0.4941 MB / 390.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2921, allocations: 32.86 kB / 391 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2921, allocations: 0 / 391 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2923, allocations: 55.27 kB / 391 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.2927, allocations: 94.17 kB / 391.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.2945, allocations: 2.961 MB / 394.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.295, allocations: 50.34 kB / 394.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.295, allocations: 13.06 kB / 394.1 MB, free: 0.9922 MB / 318.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.0002018/0.2952, allocations: 173.3 kB / 394.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.2953, allocations: 61.58 kB / 394.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.2954, allocations: 59.58 kB / 394.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2954, allocations: 4.578 kB / 394.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2955, allocations: 5.281 kB / 394.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008369/0.2963, allocations: 0.7415 MB / 395.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.2981, allocations: 1.05 MB / 396.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2981, allocations: 0 / 396.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.2985, allocations: 87.92 kB / 396.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.2985, allocations: 5.406 kB / 396.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.2986, allocations: 12.39 kB / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2986, allocations: 1.125 kB / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2986, allocations: 0 / 396.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.2999, allocations: 0.6772 MB / 397 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.3002, allocations: 173.3 kB / 397.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.3003, allocations: 12.16 kB / 397.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.3006, allocations: 26.14 kB / 397.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.3007, allocations: 28.27 kB / 397.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3008, allocations: 12.58 kB / 397.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.3012, allocations: 341.3 kB / 397.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3012, allocations: 0 / 397.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000458/0.3016, allocations: 148.8 kB / 397.7 MB, free: 14.79 MB / 334.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.001736/0.3034, allocations: 1.225 MB / 399 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.3047, allocations: 0.6524 MB / 399.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3047, allocations: 0.75 kB / 399.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.3051, allocations: 190.8 kB / 399.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.3058, allocations: 143.7 kB / 399.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/0.313, allocations: 4.672 MB / 404.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3135, allocations: 0.834 MB / 405.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.3138, allocations: 65.91 kB / 405.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.3141, allocations: 181.5 kB / 405.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3141, allocations: 3.938 kB / 405.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05846/0.3726, allocations: 14 MB / 419.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.6, allocations: 12.94 kB / 419.7 MB, free: 0.582 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches