Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 47.92 kB / 370.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 52.18 MB / 422.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005648/0.2569, allocations: 3.967 MB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2591, allocations: 1.145 MB / 427.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.2593, allocations: 11.94 kB / 427.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.2597, allocations: 134.8 kB / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.2602, allocations: 273.7 kB / 428.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.2606, allocations: 195.7 kB / 428.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2616, allocations: 0.9321 MB / 429.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2619, allocations: 158 kB / 429.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.2624, allocations: 378.7 kB / 429.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.2628, allocations: 350.3 kB / 430.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.2629, allocations: 76 kB / 430.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2631, allocations: 80 kB / 430.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.2632, allocations: 171.4 kB / 430.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.2636, allocations: 350.5 kB / 430.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009457/0.2645, allocations: 0.9294 MB / 431.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2645, allocations: 0 / 431.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2645, allocations: 0 / 431.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.2645, allocations: 0 / 431.7 MB, free: 5.305 MB / 334.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.00202/0.2666, allocations: 1.068 MB / 432.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2666, allocations: 8.031 kB / 432.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.2668, allocations: 99.66 kB / 432.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.267, allocations: 88.42 kB / 432.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.2679, allocations: 427.2 kB / 433.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.2681, allocations: 152.4 kB / 433.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.854e-05/0.2682, allocations: 48.38 kB / 433.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2698, allocations: 1.173 MB / 434.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2698, allocations: 0 / 434.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.2699, allocations: 24 kB / 434.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2699, allocations: 11.94 kB / 434.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.271, allocations: 451.7 kB / 435.2 MB, free: 1.48 MB / 334.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.003195/0.2742, allocations: 1.557 MB / 436.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.2761, allocations: 0.592 MB / 437.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.2766, allocations: 234 kB / 437.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.2767, allocations: 12.44 kB / 437.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.2767, allocations: 39 kB / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.244e-06/0.2767, allocations: 0 / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004826/0.2815, allocations: 1.251 MB / 438.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003218/0.2819, allocations: 0.5683 MB / 439.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.2825, allocations: 0.5382 MB / 440 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.2826, allocations: 41.69 kB / 440 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2829, allocations: 289.1 kB / 440.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.283, allocations: 194.3 kB / 440.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.2832, allocations: 114.3 kB / 440.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2834, allocations: 378.7 kB / 441 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.284, allocations: 218.9 kB / 441.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.285, allocations: 0.9596 MB / 442.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2861, allocations: 491.5 kB / 442.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2861, allocations: 0 / 442.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002321/0.2884, allocations: 0.8307 MB / 443.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.2884, allocations: 33.7 kB / 443.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2884, allocations: 0 / 443.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.2894, allocations: 226.3 kB / 443.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.2901, allocations: 127.8 kB / 443.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.2979, allocations: 5.251 MB / 449.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.2986, allocations: 83.73 kB / 449.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.2986, allocations: 16 kB / 449.2 MB, free: 2.57 MB / 350.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.0002944/0.2989, allocations: 199.6 kB / 449.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.299, allocations: 75.56 kB / 449.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.3013, allocations: 0.7602 MB / 450.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3013, allocations: 11.94 kB / 450.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3014, allocations: 3.938 kB / 450.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/0.3036, allocations: 1.033 MB / 451.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.3068, allocations: 1.355 MB / 452.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3068, allocations: 4 kB / 452.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.3075, allocations: 127.8 kB / 452.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/0.3083, allocations: 181.5 kB / 452.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.3083, allocations: 12 kB / 452.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.3137, allocations: 3.572 MB / 456.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3137, allocations: 3.938 kB / 456.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3165, allocations: 1.069 MB / 457.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.3168, allocations: 127.4 kB / 457.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.3169, allocations: 12 kB / 457.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.3174, allocations: 39.91 kB / 457.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3175, allocations: 48.41 kB / 457.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.3176, allocations: 16 kB / 457.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.3181, allocations: 386.8 kB / 458.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3181, allocations: 0 / 458.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007137/0.3188, allocations: 219.8 kB / 458.4 MB, free: 8.891 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.003256/0.322, allocations: 1.621 MB / 460 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.3245, allocations: 1.038 MB / 461.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3245, allocations: 4 kB / 461.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3256, allocations: 0.5078 MB / 461.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.3265, allocations: 182.8 kB / 461.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.3378, allocations: 6.159 MB / 467.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3381, allocations: 297.9 kB / 468.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.3385, allocations: 81.11 kB / 468.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.3389, allocations: 235.4 kB / 468.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3389, allocations: 0 / 468.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/0.4013, allocations: 22.09 MB / 490.6 MB, free: 8.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/13.97, allocations: 7.984 kB / 490.6 MB, free: 8.801 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv","/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.44809113861993]