Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007035/0.0007035, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008927/0.0008928, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002314, allocations: 4.281 kB / 307.8 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08621, allocations: 51.53 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003907/0.09016, allocations: 4.006 MB / 363.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.09224, allocations: 1.188 MB / 364.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.09265, allocations: 11.94 kB / 364.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.09301, allocations: 99.28 kB / 364.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.09375, allocations: 230.2 kB / 364.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.09429, allocations: 171.8 kB / 365.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.09541, allocations: 0.8907 MB / 365.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.09575, allocations: 221.1 kB / 366.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.09628, allocations: 326.7 kB / 366.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.09675, allocations: 370.3 kB / 366.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.0969, allocations: 48 kB / 366.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.09709, allocations: 59.98 kB / 366.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.09722, allocations: 143.4 kB / 367.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.09761, allocations: 407.8 kB / 367.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.09833, allocations: 0.8678 MB / 368.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.09834, allocations: 4 kB / 368.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09835, allocations: 4 kB / 368.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.429e-05/0.09839, allocations: 0 / 368.4 MB, free: 3.918 MB / 302.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.001806/0.1002, allocations: 0.981 MB / 369.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1003, allocations: 8.031 kB / 369.3 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.1004, allocations: 99.61 kB / 369.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.1007, allocations: 88 kB / 369.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.1013, allocations: 492.5 kB / 370 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1015, allocations: 101 kB / 370.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.1016, allocations: 48.28 kB / 370.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1026, allocations: 0.6851 MB / 370.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1027, allocations: 4 kB / 370.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.1027, allocations: 20 kB / 370.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1027, allocations: 12 kB / 370.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1037, allocations: 479.7 kB / 371.3 MB, free: 0.7344 MB / 302.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.1374/0.2411, allocations: 1.975 MB / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.243, allocations: 0.7159 MB / 374 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.2437, allocations: 278.3 kB / 374.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.2437, allocations: 14.44 kB / 374.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2438, allocations: 43.69 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.496e-06/0.2438, allocations: 0.6094 kB / 374.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004992/0.2488, allocations: 1.607 MB / 376 MB, free: 17.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.2489, allocations: 0.5662 MB / 376.5 MB, free: 17.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.2495, allocations: 0.5353 MB / 377.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.2496, allocations: 39.7 kB / 377.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.2498, allocations: 285 kB / 377.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.2499, allocations: 194.3 kB / 377.6 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.2499, allocations: 48.94 kB / 377.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.25, allocations: 371.4 kB / 378 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.2505, allocations: 212.2 kB / 378.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.2511, allocations: 434 kB / 378.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/0.2521, allocations: 0.5077 MB / 379.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2521, allocations: 0 / 379.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002172/0.2543, allocations: 0.8614 MB / 380 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.2543, allocations: 32.77 kB / 380 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2543, allocations: 1.156 kB / 380 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/0.2553, allocations: 234.7 kB / 380.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.2559, allocations: 129.3 kB / 380.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.2618, allocations: 5.242 MB / 385.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.2625, allocations: 86.83 kB / 385.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.2625, allocations: 20.2 kB / 385.7 MB, free: 10.54 MB / 302.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.0002269/0.2628, allocations: 201.3 kB / 385.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2629, allocations: 72.86 kB / 386 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.2651, allocations: 0.8338 MB / 386.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2651, allocations: 5.094 kB / 386.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2651, allocations: 0 / 386.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/0.2671, allocations: 1.082 MB / 387.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.2701, allocations: 1.554 MB / 389.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2701, allocations: 4 kB / 389.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.2709, allocations: 136.2 kB / 389.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.2716, allocations: 191.6 kB / 389.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.2717, allocations: 13.06 kB / 389.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.2757, allocations: 3.533 MB / 393.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2757, allocations: 2.109 kB / 393.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.2783, allocations: 1.139 MB / 394.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.2786, allocations: 208.5 kB / 394.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.2786, allocations: 13.34 kB / 394.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.2792, allocations: 47.59 kB / 394.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2793, allocations: 42.81 kB / 394.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.2793, allocations: 12.38 kB / 394.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.2797, allocations: 385.7 kB / 395.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2797, allocations: 0 / 395.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000676/0.2804, allocations: 227.1 kB / 395.4 MB, free: 4.492 MB / 302.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.002709/0.2831, allocations: 1.7 MB / 397.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.2851, allocations: 1.065 MB / 398.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2851, allocations: 1.375 kB / 398.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.286, allocations: 0.545 MB / 398.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.2868, allocations: 187.6 kB / 398.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.2968, allocations: 6.743 MB / 405.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.2975, allocations: 0.8879 MB / 406.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.2979, allocations: 77.12 kB / 406.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.2982, allocations: 231.3 kB / 406.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2982, allocations: 4 kB / 406.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.3318, allocations: 18.58 MB / 425.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.332, allocations: 231.8 kB / 425.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.536, allocations: 3.938 kB / 425.6 MB, free: 9.691 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches