Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.001213/0.001213, allocations: 105.5 kB / 17.73 MB, free: 5.363 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.001207/0.001207, allocations: 188.1 kB / 18.67 MB, free: 4.43 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.385/1.385, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001642/0.001642, allocations: 56.39 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.0842, allocations: 46.63 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005605/0.08985, allocations: 4.361 MB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2703, allocations: 1.252 MB / 380.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.2706, allocations: 9.375 kB / 380.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.271, allocations: 127.5 kB / 380.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.2716, allocations: 269.4 kB / 380.7 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.2721, allocations: 197.4 kB / 380.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009655/0.273, allocations: 0.9292 MB / 381.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2734, allocations: 248.6 kB / 382 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.274, allocations: 358.4 kB / 382.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.2746, allocations: 408.2 kB / 382.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.2748, allocations: 75.84 kB / 382.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.275, allocations: 83.09 kB / 382.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2752, allocations: 169.2 kB / 383.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2756, allocations: 413.6 kB / 383.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2766, allocations: 0.9259 MB / 384.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2766, allocations: 0 / 384.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2766, allocations: 0 / 384.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2767, allocations: 0.9375 kB / 384.4 MB, free: 8.262 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001728/0.2784, allocations: 1.13 MB / 385.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2784, allocations: 13.56 kB / 385.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2786, allocations: 101.9 kB / 385.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2787, allocations: 90.58 kB / 385.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.2794, allocations: 483.8 kB / 386.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.2795, allocations: 103.7 kB / 386.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.2796, allocations: 47.73 kB / 386.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.2808, allocations: 0.6557 MB / 387 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2808, allocations: 1.219 kB / 387 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.2808, allocations: 22.78 kB / 387.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2809, allocations: 15.25 kB / 387.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2819, allocations: 452 kB / 387.5 MB, free: 6.309 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.002897/0.2848, allocations: 1.978 MB / 389.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.2866, allocations: 0.6802 MB / 390.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.2871, allocations: 262.1 kB / 390.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.2872, allocations: 14.03 kB / 390.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2872, allocations: 46.31 kB / 390.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.854e-06/0.2872, allocations: 0 / 390.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.004865/0.2921, allocations: 1.482 MB / 392 MB, free: 3.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.2922, allocations: 0.5674 MB / 392.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.2929, allocations: 0.5396 MB / 393.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.293, allocations: 38.7 kB / 393.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2931, allocations: 290.1 kB / 393.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2933, allocations: 197.9 kB / 393.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.2935, allocations: 116.2 kB / 393.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.2936, allocations: 377.1 kB / 394.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.2941, allocations: 194.8 kB / 394.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.2947, allocations: 422 kB / 394.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/0.2957, allocations: 491.2 kB / 395.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2957, allocations: 0 / 395.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002245/0.2979, allocations: 0.8095 MB / 396 MB, free: 1.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.298, allocations: 36.34 kB / 396 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.298, allocations: 5.062 kB / 396 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/0.299, allocations: 220.9 kB / 396.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.2997, allocations: 132.9 kB / 396.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.3074, allocations: 5.597 MB / 401.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.3083, allocations: 84.27 kB / 402 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.3084, allocations: 23.61 kB / 402 MB, free: 12.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000364/0.3088, allocations: 194.3 kB / 402.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3089, allocations: 72.7 kB / 402.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.3112, allocations: 0.7794 MB / 403.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3112, allocations: 9.781 kB / 403.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3112, allocations: 0 / 403.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/0.3135, allocations: 1.037 MB / 404.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.3169, allocations: 1.509 MB / 405.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3169, allocations: 3.938 kB / 405.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.3176, allocations: 129.2 kB / 405.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/0.3185, allocations: 172.9 kB / 405.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.3185, allocations: 19.41 kB / 406 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.324, allocations: 3.789 MB / 409.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.324, allocations: 9.328 kB / 409.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.327, allocations: 1.068 MB / 410.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3274, allocations: 207.2 kB / 411 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.3275, allocations: 13.69 kB / 411 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.328, allocations: 45.77 kB / 411.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3281, allocations: 43.31 kB / 411.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.3281, allocations: 13.44 kB / 411.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005234/0.3287, allocations: 389.3 kB / 411.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3287, allocations: 1.5 kB / 411.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007559/0.3294, allocations: 222.3 kB / 411.7 MB, free: 5.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003194/0.3326, allocations: 1.625 MB / 413.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.3351, allocations: 1.039 MB / 414.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3351, allocations: 1.094 kB / 414.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009977/0.3361, allocations: 0.5467 MB / 415 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.3369, allocations: 197 kB / 415.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.3477, allocations: 6.054 MB / 421.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.3482, allocations: 0.8917 MB / 422.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.3486, allocations: 77.14 kB / 422.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.349, allocations: 235.3 kB / 422.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.349, allocations: 0 / 422.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/0.408, allocations: 20.19 MB / 442.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.36, allocations: 0 / 442.6 MB, free: 8.883 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches