Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.0007883/0.0007883, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007935/0.0007935, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8786/0.8786, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.848e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003649/0.003667, allocations: 4.371 MB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.005345, allocations: 1.339 MB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.005552, allocations: 11.94 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.005836, allocations: 154.6 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.006291, allocations: 357.1 kB / 330.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.006608, allocations: 219.5 kB / 330.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.0073, allocations: 1.073 MB / 332 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.007534, allocations: 194.3 kB / 332.2 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.008091, allocations: 0.6043 MB / 332.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.008379, allocations: 331 kB / 333.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.939e-05/0.008459, allocations: 88 kB / 333.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.008542, allocations: 88 kB / 333.3 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.00864, allocations: 199.3 kB / 333.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.008854, allocations: 343.2 kB / 333.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.009524, allocations: 1.114 MB / 335 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009526, allocations: 0 / 335 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009528, allocations: 4 kB / 335 MB, free: 5.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.009538, allocations: 0 / 335 MB, free: 5.406 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001323/0.01086, allocations: 1.16 MB / 336.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.0109, allocations: 15.92 kB / 336.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.01102, allocations: 119.9 kB / 336.2 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.01113, allocations: 100.4 kB / 336.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.01167, allocations: 482.5 kB / 336.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.01177, allocations: 156.7 kB / 337 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.01183, allocations: 52.38 kB / 337 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.01303, allocations: 1.558 MB / 338.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.01305, allocations: 4.141 kB / 338.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.01312, allocations: 31.94 kB / 338.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01313, allocations: 12 kB / 338.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.01395, allocations: 0.5086 MB / 339.1 MB, free: 0.8281 MB / 298.7 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.002479/0.01643, allocations: 1.758 MB / 340.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.01721, allocations: 0.4942 MB / 341.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.01755, allocations: 226.2 kB / 341.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.01758, allocations: 8.5 kB / 341.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.01806, allocations: 330.1 kB / 341.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.787e-06/0.01807, allocations: 0 / 341.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002739/0.02081, allocations: 1.318 MB / 343.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002667/0.02107, allocations: 0.832 MB / 344.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.02161, allocations: 0.5978 MB / 344.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.02166, allocations: 37.7 kB / 344.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.02184, allocations: 349.1 kB / 345.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.02196, allocations: 198.3 kB / 345.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.02211, allocations: 130.3 kB / 345.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.02222, allocations: 382.8 kB / 345.8 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.02258, allocations: 264.6 kB / 346 MB, free: 9.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.02332, allocations: 1.329 MB / 347.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.02402, allocations: 0.5642 MB / 347.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.02403, allocations: 0 / 347.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001362/0.02539, allocations: 0.9503 MB / 348.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.02544, allocations: 63.42 kB / 348.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.02545, allocations: 4 kB / 348.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.0259, allocations: 217.5 kB / 349.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.02624, allocations: 115.8 kB / 349.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.03034, allocations: 4.327 MB / 353.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.03087, allocations: 87.58 kB / 353.7 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.03091, allocations: 20 kB / 353.7 MB, free: 1.254 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.03118, allocations: 220.8 kB / 353.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.03127, allocations: 83.53 kB / 354 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.03136, allocations: 78.8 kB / 354.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.03136, allocations: 7.938 kB / 354.1 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.03136, allocations: 8 kB / 354.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.03253, allocations: 1.037 MB / 355.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.03419, allocations: 1.382 MB / 356.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.03419, allocations: 4 kB / 356.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.03449, allocations: 107.8 kB / 356.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.03479, allocations: 177.5 kB / 356.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.03482, allocations: 12 kB / 356.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.03769, allocations: 3.695 MB / 360.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0377, allocations: 0 / 360.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.0391, allocations: 1.022 MB / 361.5 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.03934, allocations: 147.5 kB / 361.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.03939, allocations: 23.94 kB / 361.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.03969, allocations: 47.89 kB / 361.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.03981, allocations: 56.39 kB / 361.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.03983, allocations: 12 kB / 361.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003526/0.04019, allocations: 423.1 kB / 362.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04019, allocations: 0 / 362.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006077/0.04079, allocations: 255.7 kB / 362.4 MB, free: 8.047 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.04235, allocations: 1.586 MB / 364 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.04369, allocations: 1.033 MB / 365.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.04369, allocations: 4 kB / 365.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.04429, allocations: 0.5316 MB / 365.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.04499, allocations: 210.9 kB / 365.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/0.05215, allocations: 6.328 MB / 372.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.05239, allocations: 328.3 kB / 372.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.0527, allocations: 81.22 kB / 372.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.05294, allocations: 264.4 kB / 372.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.05295, allocations: 0 / 372.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.09674, allocations: 24.92 MB / 397.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.559, allocations: 4 kB / 397.7 MB, free: 4.785 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 10.2311822026968]