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.001562/0.001562, allocations: 109.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.002108/0.002108, allocations: 184.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.283/1.283, 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.001191/0.001191, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08314, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005381/0.08856, allocations: 4.369 MB / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.2505, allocations: 1.247 MB / 380.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.2508, allocations: 6.469 kB / 380.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.2512, allocations: 137.6 kB / 380.4 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.2517, allocations: 266.6 kB / 380.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2522, allocations: 198.7 kB / 380.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008621/0.2531, allocations: 0.933 MB / 381.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.2534, allocations: 246.4 kB / 382 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.2539, allocations: 371.3 kB / 382.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.2545, allocations: 405.5 kB / 382.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2546, allocations: 76.53 kB / 382.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2548, allocations: 77.53 kB / 382.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2549, allocations: 171.5 kB / 383.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.2553, allocations: 418.4 kB / 383.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.2562, allocations: 0.9154 MB / 384.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2562, allocations: 1.219 kB / 384.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2562, allocations: 0 / 384.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2562, allocations: 0 / 384.4 MB, free: 8.25 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.001867/0.2581, allocations: 1.111 MB / 385.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2581, allocations: 9.25 kB / 385.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.2583, allocations: 97.75 kB / 385.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2584, allocations: 87.31 kB / 385.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.2591, allocations: 488.6 kB / 386.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.2593, allocations: 98.28 kB / 386.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.2594, allocations: 43.39 kB / 386.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2604, allocations: 0.6657 MB / 387 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2604, allocations: 1.906 kB / 387 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.2605, allocations: 23.25 kB / 387 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2605, allocations: 14.97 kB / 387 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.2615, allocations: 450.8 kB / 387.5 MB, free: 6.324 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.002757/0.2643, allocations: 1.961 MB / 389.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.266, allocations: 0.686 MB / 390.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.2666, allocations: 259.9 kB / 390.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.2666, allocations: 16.12 kB / 390.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2667, allocations: 44.53 kB / 390.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.713e-06/0.2667, allocations: 0 / 390.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.004681/0.2714, allocations: 1.479 MB / 391.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2715, allocations: 0.5747 MB / 392.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.2721, allocations: 0.5393 MB / 393 MB, free: 3.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.2721, allocations: 38.92 kB / 393.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2723, allocations: 290.3 kB / 393.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2724, allocations: 187.6 kB / 393.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.2726, allocations: 107.7 kB / 393.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.2727, allocations: 376.7 kB / 394 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.2732, allocations: 195.7 kB / 394.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.2738, allocations: 418.8 kB / 394.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.2747, allocations: 489.7 kB / 395.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2748, allocations: 4 kB / 395.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002178/0.2769, allocations: 0.8089 MB / 395.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.277, allocations: 33.34 kB / 395.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.277, allocations: 6.609 kB / 395.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/0.278, allocations: 226.5 kB / 396.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.2787, allocations: 126.5 kB / 396.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007114/0.2858, allocations: 5.594 MB / 401.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.2867, allocations: 79.28 kB / 402 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.2867, allocations: 18.58 kB / 402 MB, free: 12.21 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.0003115/0.2871, allocations: 203.4 kB / 402.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.2872, allocations: 67.62 kB / 402.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.2894, allocations: 0.7761 MB / 403 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2894, allocations: 9.438 kB / 403 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.2894, allocations: 0 / 403 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/0.2916, allocations: 1.038 MB / 404.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.2949, allocations: 1.512 MB / 405.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2949, allocations: 0 / 405.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.2957, allocations: 129.8 kB / 405.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008209/0.2965, allocations: 185 kB / 405.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.2965, allocations: 7.469 kB / 405.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.3015, allocations: 3.8 MB / 409.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3016, allocations: 3.938 kB / 409.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.3044, allocations: 1.064 MB / 410.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.3048, allocations: 207.1 kB / 411 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.3049, allocations: 13.53 kB / 411 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.3054, allocations: 36.97 kB / 411 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3055, allocations: 46.66 kB / 411.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3055, allocations: 18.11 kB / 411.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004795/0.306, allocations: 385.6 kB / 411.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.306, allocations: 0 / 411.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007494/0.3068, allocations: 219.2 kB / 411.7 MB, free: 5.312 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.002936/0.3097, allocations: 1.624 MB / 413.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.3119, allocations: 1.044 MB / 414.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.312, allocations: 2.812 kB / 414.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009382/0.3129, allocations: 0.5323 MB / 414.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.3138, allocations: 191.5 kB / 415.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.3241, allocations: 6.032 MB / 421.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.3246, allocations: 0.8956 MB / 422 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.325, allocations: 81.12 kB / 422.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3253, allocations: 235.4 kB / 422.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3253, allocations: 3.938 kB / 422.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.3744, allocations: 20.67 MB / 443 MB, free: 8.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.88, allocations: 7.938 kB / 443 MB, free: 8.484 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