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.001274/0.001274, allocations: 110 kB / 20.43 MB, free: 1.453 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.001394/0.001394, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.379/1.379, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.001817/0.001817, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2495, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005769/0.2553, allocations: 4.415 MB / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.2576, allocations: 1.262 MB / 436.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.2578, allocations: 11.88 kB / 436.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2581, allocations: 130.8 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.2587, allocations: 273.7 kB / 437.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.2591, allocations: 195.7 kB / 437.5 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.2601, allocations: 0.9329 MB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.2604, allocations: 170.1 kB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.2609, allocations: 386.6 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.2614, allocations: 402.3 kB / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.2615, allocations: 76 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2617, allocations: 80 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.2619, allocations: 175.4 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.2622, allocations: 418.1 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2633, allocations: 0.9293 MB / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2633, allocations: 0 / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2633, allocations: 0 / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2633, allocations: 0 / 441 MB, free: 12.82 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.001985/0.2653, allocations: 1.061 MB / 442 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2653, allocations: 11.97 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.2655, allocations: 91.7 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.2657, allocations: 100.4 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.2665, allocations: 427.2 kB / 442.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.2667, allocations: 156.4 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/0.2667, allocations: 56.33 kB / 442.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2679, allocations: 0.6592 MB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2679, allocations: 0 / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.268, allocations: 23.94 kB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.268, allocations: 12 kB / 443.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2691, allocations: 451.7 kB / 444 MB, free: 9.617 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.003194/0.2723, allocations: 1.896 MB / 445.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.2741, allocations: 0.583 MB / 446.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.2746, allocations: 234 kB / 446.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/0.2747, allocations: 20.41 kB / 446.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.2747, allocations: 43 kB / 446.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.703e-06/0.2747, allocations: 0 / 446.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.00482/0.2796, allocations: 1.242 MB / 448 MB, free: 5.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003281/0.2799, allocations: 0.5683 MB / 448.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.2806, allocations: 0.5382 MB / 449.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.2807, allocations: 41.7 kB / 449.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2809, allocations: 301 kB / 449.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2811, allocations: 194.3 kB / 449.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2813, allocations: 102.3 kB / 449.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.2815, allocations: 382.7 kB / 450.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.282, allocations: 189.2 kB / 450.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.2827, allocations: 417.2 kB / 450.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2838, allocations: 487.5 kB / 451.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2838, allocations: 0 / 451.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002328/0.2861, allocations: 0.8056 MB / 452 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.2862, allocations: 36.36 kB / 452 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2862, allocations: 0 / 452 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2872, allocations: 226.3 kB / 452.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.2879, allocations: 127.8 kB / 452.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/0.2958, allocations: 5.305 MB / 457.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.2965, allocations: 79.62 kB / 457.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.2965, allocations: 16 kB / 457.8 MB, free: 11.04 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.0002942/0.2968, allocations: 193.2 kB / 458 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2969, allocations: 75.52 kB / 458 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.2993, allocations: 0.7679 MB / 458.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.2993, allocations: 11.94 kB / 458.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2993, allocations: 0 / 458.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/0.3015, allocations: 1.033 MB / 459.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.3047, allocations: 1.476 MB / 461.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3047, allocations: 0 / 461.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.3055, allocations: 127.8 kB / 461.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008303/0.3063, allocations: 181.7 kB / 461.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.3064, allocations: 15.94 kB / 461.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.3117, allocations: 3.589 MB / 465.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3117, allocations: 3.938 kB / 465.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.3145, allocations: 1.065 MB / 466.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3148, allocations: 127.4 kB / 466.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.3149, allocations: 16 kB / 466.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.3154, allocations: 39.89 kB / 466.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3155, allocations: 48.41 kB / 466.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.3155, allocations: 12 kB / 466.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.316, allocations: 386.8 kB / 466.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.316, allocations: 0 / 466.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.3167, allocations: 223.8 kB / 467.1 MB, free: 1.23 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.00308/0.3198, allocations: 1.625 MB / 468.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.322, allocations: 1.013 MB / 469.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.322, allocations: 0 / 469.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.323, allocations: 0.5117 MB / 470.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.3238, allocations: 194.8 kB / 470.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.3342, allocations: 6.049 MB / 476.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.3347, allocations: 0.8918 MB / 477.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.335, allocations: 81.12 kB / 477.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3354, allocations: 231.4 kB / 477.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3354, allocations: 0 / 477.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.3966, allocations: 20.74 MB / 498.5 MB, free: 1.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.89, allocations: 4 kB / 498.5 MB, free: 1.918 MB / 398.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.22284561395645]