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.001276/0.001276, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001241/0.001241, allocations: 187 kB / 18.66 MB, free: 4.387 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.382/1.382, 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.001622/0.001623, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.09014, allocations: 46.63 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006811/0.097, allocations: 4.826 MB / 379.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.2708, allocations: 1.397 MB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.2712, allocations: 9.781 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2717, allocations: 153.9 kB / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.2723, allocations: 334.3 kB / 381.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.2728, allocations: 222.5 kB / 381.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.2738, allocations: 1.029 MB / 382.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.2743, allocations: 300.5 kB / 382.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.2749, allocations: 409.8 kB / 383.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.2755, allocations: 444.7 kB / 383.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.2757, allocations: 87.59 kB / 383.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.2759, allocations: 90.34 kB / 383.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.2761, allocations: 193.8 kB / 384.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.2766, allocations: 480 kB / 384.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2779, allocations: 1.078 MB / 385.6 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2779, allocations: 8.938 kB / 385.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2779, allocations: 0 / 385.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.2779, allocations: 0 / 385.6 MB, free: 7.746 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.002212/0.2802, allocations: 1.241 MB / 386.9 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2802, allocations: 10.98 kB / 386.9 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.2804, allocations: 117.9 kB / 387 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.2806, allocations: 102 kB / 387.1 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.2814, allocations: 0.5213 MB / 387.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2815, allocations: 99.64 kB / 387.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.2816, allocations: 56.52 kB / 387.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.283, allocations: 0.8131 MB / 388.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.283, allocations: 3.984 kB / 388.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.2831, allocations: 25.56 kB / 388.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2831, allocations: 12.22 kB / 388.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2844, allocations: 0.5101 MB / 389.2 MB, free: 5.539 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.003521/0.288, allocations: 2.173 MB / 391.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2893, allocations: 0.5286 MB / 391.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.2899, allocations: 265.9 kB / 392.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.2899, allocations: 13.33 kB / 392.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.2907, allocations: 325.2 kB / 392.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 3.146e-06/0.2907, allocations: 0 / 392.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.005056/0.2958, allocations: 1.491 MB / 393.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.296, allocations: 0.8221 MB / 394.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.2967, allocations: 0.5876 MB / 395.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.2968, allocations: 46.3 kB / 395.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.2971, allocations: 347.1 kB / 395.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.2972, allocations: 196.5 kB / 395.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.2974, allocations: 131.1 kB / 396 MB, free: 1.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2975, allocations: 380.4 kB / 396.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.2981, allocations: 215.2 kB / 396.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.2989, allocations: 0.5165 MB / 397.1 MB, free: 476 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3, allocations: 0.571 MB / 397.7 MB, free: 132 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3, allocations: 0 / 397.7 MB, free: 132 kB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002383/0.3024, allocations: 0.9051 MB / 398.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.3025, allocations: 57.27 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3025, allocations: 3.266 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.3032, allocations: 225.8 kB / 398.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.3038, allocations: 115.4 kB / 399 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.311, allocations: 4.594 MB / 403.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.312, allocations: 90.03 kB / 403.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.3121, allocations: 21.34 kB / 403.7 MB, free: 11.88 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.0004525/0.3126, allocations: 216.6 kB / 403.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.3127, allocations: 85.89 kB / 404 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.3129, allocations: 80.39 kB / 404.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3129, allocations: 4.719 kB / 404.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.313, allocations: 1.125 kB / 404.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002289/0.3152, allocations: 1.051 MB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.3183, allocations: 1.543 MB / 406.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3183, allocations: 1.156 kB / 406.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.3189, allocations: 105.4 kB / 406.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.3195, allocations: 180.1 kB / 407 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.3196, allocations: 12.41 kB / 407 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005393/0.325, allocations: 3.935 MB / 410.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.325, allocations: 192 / 410.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.3275, allocations: 1.029 MB / 411.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.3279, allocations: 225.8 kB / 412.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.328, allocations: 13.69 kB / 412.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.3286, allocations: 46.33 kB / 412.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3287, allocations: 49.98 kB / 412.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3288, allocations: 14.72 kB / 412.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005334/0.3293, allocations: 421.6 kB / 412.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3293, allocations: 0 / 412.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.3302, allocations: 261.5 kB / 413 MB, free: 4.848 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.002634/0.3328, allocations: 1.607 MB / 414.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.3349, allocations: 1.017 MB / 415.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3349, allocations: 2.469 kB / 415.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.3359, allocations: 0.548 MB / 416.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.3369, allocations: 208.4 kB / 416.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.3478, allocations: 6.148 MB / 422.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.3484, allocations: 0.92 MB / 423.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.3489, allocations: 85.2 kB / 423.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.3493, allocations: 263.3 kB / 423.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3493, allocations: 4 kB / 423.7 MB, free: 12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.4131, allocations: 22.76 MB / 446.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.08, allocations: 15.86 kB / 446.5 MB, free: 5.148 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