Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",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.001518/0.001518, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001778/0.001779, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001584/0.001585, allocations: 59.91 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09393, allocations: 46.61 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005821/0.09979, allocations: 4.818 MB / 379.5 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1925/0.2923, allocations: 1.407 MB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/0.2932, allocations: 9.594 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.294, allocations: 148.5 kB / 381 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.2954, allocations: 335.5 kB / 381.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.2962, allocations: 225 kB / 381.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2978, allocations: 1.031 MB / 382.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.2983, allocations: 302.6 kB / 382.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.299, allocations: 409.3 kB / 383.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.2996, allocations: 445.4 kB / 383.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.2998, allocations: 87.62 kB / 383.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.3, allocations: 89.62 kB / 383.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3002, allocations: 195.6 kB / 384.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.3007, allocations: 477.5 kB / 384.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.3019, allocations: 1.078 MB / 385.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3019, allocations: 4.75 kB / 385.6 MB, free: 7.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3019, allocations: 0 / 385.6 MB, free: 7.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.302, allocations: 0 / 385.6 MB, free: 7.734 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002345/0.3043, allocations: 1.218 MB / 386.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.3044, allocations: 10.92 kB / 386.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.3046, allocations: 106.9 kB / 387 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.3048, allocations: 99.75 kB / 387.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.3057, allocations: 0.516 MB / 387.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.3059, allocations: 104.6 kB / 387.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.306, allocations: 52.64 kB / 387.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.3074, allocations: 0.808 MB / 388.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3074, allocations: 1.062 kB / 388.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.3075, allocations: 28.58 kB / 388.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3075, allocations: 12.97 kB / 388.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3087, allocations: 0.5023 MB / 389.1 MB, free: 5.578 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.003211/0.312, allocations: 2.185 MB / 391.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3132, allocations: 0.5313 MB / 391.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.3138, allocations: 262.1 kB / 392.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.3138, allocations: 13.23 kB / 392.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007438/0.3146, allocations: 321.4 kB / 392.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.274e-06/0.3146, allocations: 0 / 392.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.004979/0.3196, allocations: 1.491 MB / 393.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.3198, allocations: 0.822 MB / 394.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.3206, allocations: 0.588 MB / 395.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.3207, allocations: 40.61 kB / 395.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3209, allocations: 339.9 kB / 395.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.321, allocations: 193.5 kB / 395.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3213, allocations: 127.9 kB / 396 MB, free: 1.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3214, allocations: 375.8 kB / 396.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.322, allocations: 213.6 kB / 396.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.3227, allocations: 0.519 MB / 397.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3239, allocations: 0.5699 MB / 397.6 MB, free: 188 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3239, allocations: 1.125 kB / 397.6 MB, free: 188 kB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00232/0.3262, allocations: 0.8981 MB / 398.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.3263, allocations: 61.3 kB / 398.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3263, allocations: 3.625 kB / 398.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.327, allocations: 225.8 kB / 398.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.3276, allocations: 114.8 kB / 398.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.3341, allocations: 4.596 MB / 403.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3351, allocations: 84.94 kB / 403.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.3352, allocations: 27.56 kB / 403.6 MB, free: 11.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.3356, allocations: 211.4 kB / 403.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.3358, allocations: 82.08 kB / 403.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.336, allocations: 77.89 kB / 404 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.336, allocations: 5.25 kB / 404 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.336, allocations: 0 / 404 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/0.3382, allocations: 1.05 MB / 405.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.3412, allocations: 1.549 MB / 406.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3412, allocations: 0.875 kB / 406.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.3419, allocations: 101.4 kB / 406.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.3424, allocations: 176.7 kB / 406.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.3425, allocations: 12.19 kB / 406.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.3475, allocations: 3.935 MB / 410.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3475, allocations: 0 / 410.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.3501, allocations: 1.02 MB / 411.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.3506, allocations: 217.5 kB / 412.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.3508, allocations: 19.59 kB / 412.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.3515, allocations: 45.12 kB / 412.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3517, allocations: 59.27 kB / 412.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3517, allocations: 14.03 kB / 412.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006062/0.3524, allocations: 421 kB / 412.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3524, allocations: 0 / 412.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3535, allocations: 253.7 kB / 412.9 MB, free: 4.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002835/0.3563, allocations: 1.603 MB / 414.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.3586, allocations: 1.019 MB / 415.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3586, allocations: 3 kB / 415.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009785/0.3596, allocations: 0.5421 MB / 416 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3609, allocations: 208.2 kB / 416.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.3725, allocations: 6.125 MB / 422.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.3731, allocations: 0.92 MB / 423.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004961/0.3736, allocations: 85.2 kB / 423.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.374, allocations: 263.3 kB / 423.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.374, allocations: 4 kB / 423.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05622/0.4303, allocations: 23.3 MB / 446.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.38, allocations: 11.88 kB / 446.9 MB, free: 4.684 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches