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.001502/0.001502, allocations: 127 kB / 17.79 MB, free: 5.242 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.001781/0.001781, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.49/1.49, allocations: 230.4 MB / 254 MB, free: 15.02 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.002588/0.002588, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1099, allocations: 53.37 MB / 426.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005654/0.1156, allocations: 4.401 MB / 430.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2168/0.3324, allocations: 1.245 MB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.3328, allocations: 12.16 kB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3331, allocations: 137 kB / 432.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.3338, allocations: 268.5 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.3342, allocations: 200.6 kB / 432.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.335, allocations: 0.9292 MB / 433.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.3353, allocations: 169 kB / 433.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.3357, allocations: 386.5 kB / 434.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.3361, allocations: 397.4 kB / 434.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3362, allocations: 76.09 kB / 434.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3364, allocations: 87.55 kB / 434.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3365, allocations: 170.1 kB / 434.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.3369, allocations: 411.5 kB / 435.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3379, allocations: 0.9297 MB / 436.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3379, allocations: 0 / 436.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3379, allocations: 1.375 kB / 436.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3379, allocations: 0.6094 kB / 436.1 MB, free: 6.715 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.002147/0.3401, allocations: 1.133 MB / 437.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3401, allocations: 11.03 kB / 437.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.3403, allocations: 93.16 kB / 437.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.3405, allocations: 95.11 kB / 437.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.3413, allocations: 499.7 kB / 437.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3415, allocations: 97.94 kB / 438 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.3416, allocations: 44.06 kB / 438.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3427, allocations: 0.665 MB / 438.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3427, allocations: 1.75 kB / 438.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.3428, allocations: 21.75 kB / 438.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3428, allocations: 11.53 kB / 438.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3439, allocations: 452.5 kB / 439.2 MB, free: 4.766 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.00311/0.347, allocations: 1.969 MB / 441.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.3489, allocations: 0.6591 MB / 441.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.3495, allocations: 236.8 kB / 442.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.3495, allocations: 10.84 kB / 442.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3496, allocations: 48.64 kB / 442.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.405e-06/0.3496, allocations: 0.5 kB / 442.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005806/0.3554, allocations: 1.479 MB / 443.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.3555, allocations: 0.5668 MB / 444.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.3564, allocations: 0.5402 MB / 444.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.3565, allocations: 39.39 kB / 444.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3567, allocations: 293.7 kB / 445 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3568, allocations: 195.2 kB / 445.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.357, allocations: 109.1 kB / 445.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3571, allocations: 376.7 kB / 445.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.3577, allocations: 194.5 kB / 445.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.3583, allocations: 413.8 kB / 446.3 MB, free: 288 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3594, allocations: 494 kB / 446.8 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3594, allocations: 1.406 kB / 446.8 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002656/0.3621, allocations: 0.8035 MB / 447.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.3621, allocations: 36.66 kB / 447.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3621, allocations: 1.156 kB / 447.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3632, allocations: 227.6 kB / 447.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.364, allocations: 127.5 kB / 448 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008572/0.3726, allocations: 5.605 MB / 453.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.3735, allocations: 71.81 kB / 453.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.3736, allocations: 20.55 kB / 453.7 MB, free: 10.66 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.000377/0.3739, allocations: 199 kB / 453.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3741, allocations: 75.69 kB / 453.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.3766, allocations: 0.7713 MB / 454.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3766, allocations: 10.38 kB / 454.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3766, allocations: 0 / 454.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002408/0.379, allocations: 1.035 MB / 455.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.3828, allocations: 1.501 MB / 457.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3828, allocations: 3.141 kB / 457.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.3836, allocations: 134 kB / 457.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000875/0.3845, allocations: 175.7 kB / 457.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3845, allocations: 14.39 kB / 457.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/0.3903, allocations: 3.802 MB / 461.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.3903, allocations: 3.938 kB / 461.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.3935, allocations: 1.063 MB / 462.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.3939, allocations: 212.5 kB / 462.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.394, allocations: 17.05 kB / 462.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.3946, allocations: 37.16 kB / 462.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3947, allocations: 47.16 kB / 462.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.3947, allocations: 17.3 kB / 462.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005289/0.3953, allocations: 385.4 kB / 463.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3953, allocations: 0 / 463.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008235/0.3961, allocations: 219.3 kB / 463.4 MB, free: 4.105 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.003306/0.3994, allocations: 1.624 MB / 465 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.402, allocations: 1.014 MB / 466 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.402, allocations: 2.094 kB / 466 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4031, allocations: 0.517 MB / 466.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4041, allocations: 189.7 kB / 466.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4159, allocations: 6.039 MB / 472.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.4164, allocations: 0.8875 MB / 473.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.4169, allocations: 85.97 kB / 473.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.4173, allocations: 237.4 kB / 473.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4173, allocations: 0 / 473.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/0.4785, allocations: 20.32 MB / 494.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.69, allocations: 4 kB / 494.3 MB, free: 10.36 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable heatCapacitor.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.259402225958183]