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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 119.7 kB / 18.5 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 213.6 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.09119, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005348/0.09654, allocations: 4.403 MB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.265, allocations: 1.242 MB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.2653, allocations: 9.188 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.2657, allocations: 137.3 kB / 432.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.2661, allocations: 269.2 kB / 432.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2665, allocations: 203.5 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.2674, allocations: 0.9184 MB / 433.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.2676, allocations: 172.5 kB / 434 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.268, allocations: 374.1 kB / 434.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.2684, allocations: 396.5 kB / 434.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.2685, allocations: 75.84 kB / 434.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2686, allocations: 88.03 kB / 434.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.2687, allocations: 173.5 kB / 435.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.269, allocations: 415.4 kB / 435.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.2699, allocations: 0.9286 MB / 436.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2699, allocations: 0 / 436.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2699, allocations: 1.062 kB / 436.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2699, allocations: 0.75 kB / 436.4 MB, free: 6.805 MB / 350.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.0018/0.2717, allocations: 1.137 MB / 437.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2717, allocations: 11.05 kB / 437.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.2718, allocations: 91.58 kB / 437.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.2721, allocations: 94.64 kB / 437.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.2728, allocations: 0.4894 MB / 438.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.2729, allocations: 96.59 kB / 438.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.273, allocations: 48.91 kB / 438.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.274, allocations: 0.6586 MB / 439 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.274, allocations: 2.906 kB / 439 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.274, allocations: 26.69 kB / 439.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2741, allocations: 10.59 kB / 439.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.275, allocations: 456.4 kB / 439.5 MB, free: 4.949 MB / 350.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.002713/0.2778, allocations: 1.96 MB / 441.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.2795, allocations: 0.6587 MB / 442.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.28, allocations: 236.7 kB / 442.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.28, allocations: 15.72 kB / 442.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.28, allocations: 44.45 kB / 442.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.764e-06/0.28, allocations: 0 / 442.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004758/0.2848, allocations: 1.481 MB / 443.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.2849, allocations: 0.5637 MB / 444.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.2855, allocations: 0.5424 MB / 445 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.2855, allocations: 39.41 kB / 445.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2856, allocations: 290.9 kB / 445.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2858, allocations: 197.6 kB / 445.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.2859, allocations: 109.4 kB / 445.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.286, allocations: 377 kB / 446 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.2865, allocations: 195.2 kB / 446.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.287, allocations: 415.5 kB / 446.6 MB, free: 484 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.2879, allocations: 487.4 kB / 447.1 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2879, allocations: 1.094 kB / 447.1 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002253/0.2902, allocations: 0.8205 MB / 447.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.2902, allocations: 32.47 kB / 447.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2902, allocations: 5.25 kB / 447.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009945/0.2912, allocations: 225.1 kB / 448.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/0.2919, allocations: 124.8 kB / 448.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.2998, allocations: 5.602 MB / 453.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.3006, allocations: 80.66 kB / 454 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.3006, allocations: 18.36 kB / 454 MB, free: 10.89 MB / 366.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.0003259/0.3009, allocations: 195.9 kB / 454.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3011, allocations: 78.97 kB / 454.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.3034, allocations: 0.7657 MB / 455 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3034, allocations: 10.59 kB / 455 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3034, allocations: 4 kB / 455 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002394/0.3058, allocations: 1.031 MB / 456.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.3092, allocations: 1.501 MB / 457.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3092, allocations: 6.719 kB / 457.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.3099, allocations: 130.3 kB / 457.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.3107, allocations: 174.3 kB / 457.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.3108, allocations: 14.52 kB / 457.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.316, allocations: 3.793 MB / 461.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.316, allocations: 11.94 kB / 461.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.3188, allocations: 1.07 MB / 462.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.3192, allocations: 211.3 kB / 463 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.3193, allocations: 13.66 kB / 463 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.3198, allocations: 37.12 kB / 463 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3199, allocations: 42.41 kB / 463 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.3199, allocations: 22.17 kB / 463.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.3204, allocations: 389.7 kB / 463.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3204, allocations: 0 / 463.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007466/0.3211, allocations: 219.7 kB / 463.7 MB, free: 4.379 MB / 366.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.003082/0.3242, allocations: 1.624 MB / 465.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.3265, allocations: 1.019 MB / 466.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3265, allocations: 1.25 kB / 466.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.3275, allocations: 0.5133 MB / 466.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.3284, allocations: 182 kB / 467 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.3396, allocations: 6.05 MB / 473 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.3402, allocations: 0.8886 MB / 473.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004707/0.3407, allocations: 81.31 kB / 474 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.341, allocations: 231.8 kB / 474.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.341, allocations: 1.438 kB / 474.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.3998, allocations: 20.31 MB / 494.6 MB, free: 10.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.19, allocations: 7.922 kB / 494.6 MB, free: 10.68 MB / 398.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.519644098822027]