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.001504/0.001504, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.002434/0.002434, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.425/1.425, allocations: 230.4 MB / 254.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 55.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09739, allocations: 53.37 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005404/0.1028, allocations: 4.407 MB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1946/0.2974, allocations: 1.237 MB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.2978, allocations: 12.34 kB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2981, allocations: 139.1 kB / 432.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.2986, allocations: 271.4 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.299, allocations: 196.7 kB / 433.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00094/0.2999, allocations: 0.9317 MB / 434.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.3002, allocations: 173.5 kB / 434.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.3007, allocations: 374.5 kB / 434.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.3012, allocations: 404.8 kB / 435.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3013, allocations: 76.69 kB / 435.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3015, allocations: 83.84 kB / 435.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3016, allocations: 169 kB / 435.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.302, allocations: 414.8 kB / 435.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.3031, allocations: 0.9225 MB / 436.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3031, allocations: 1.031 kB / 436.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3031, allocations: 2.281 kB / 436.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.3031, allocations: 0 / 436.8 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.002003/0.3051, allocations: 1.141 MB / 438 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3051, allocations: 10.66 kB / 438 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.504e-05/0.3052, allocations: 17.2 kB / 438 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.3053, allocations: 96.52 kB / 438.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.3056, allocations: 100.4 kB / 438.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.3063, allocations: 494.5 kB / 438.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3064, allocations: 98.27 kB / 438.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.3065, allocations: 53 kB / 438.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3076, allocations: 0.6618 MB / 439.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3076, allocations: 2.734 kB / 439.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.3077, allocations: 23.31 kB / 439.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3077, allocations: 11.19 kB / 439.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3088, allocations: 466.4 kB / 440 MB, free: 4.746 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.003005/0.3118, allocations: 1.994 MB / 442 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3136, allocations: 0.6642 MB / 442.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.3142, allocations: 254.4 kB / 442.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.3142, allocations: 13.86 kB / 442.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3143, allocations: 44.44 kB / 442.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.305e-06/0.3143, allocations: 7.875 kB / 442.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.01835/0.3326, allocations: 4.982 MB / 447.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0032/0.3358, allocations: 3.021 MB / 450.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008265/0.3366, allocations: 0.5363 MB / 451.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.3368, allocations: 47.42 kB / 451.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.3371, allocations: 290.8 kB / 451.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.3375, allocations: 337.3 kB / 452.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.3378, allocations: 171 kB / 452.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.338, allocations: 383.8 kB / 452.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3392, allocations: 441.6 kB / 453.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.3405, allocations: 0.6593 MB / 453.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.3428, allocations: 0.9679 MB / 454.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3428, allocations: 0 / 454.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005447/0.3483, allocations: 1.679 MB / 456.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3483, allocations: 32.86 kB / 456.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3483, allocations: 3.016 kB / 456.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.3514, allocations: 0.6529 MB / 457.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.3525, allocations: 195.9 kB / 457.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.369, allocations: 11.52 MB / 468.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3706, allocations: 85.5 kB / 468.9 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.3708, allocations: 35.62 kB / 468.9 MB, free: 460 kB / 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005904/0.3714, allocations: 213 kB / 469.1 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.3716, allocations: 93.64 kB / 469.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005886/0.3775, allocations: 1.679 MB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.3775, allocations: 9.062 kB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3775, allocations: 3.406 kB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005479/0.383, allocations: 1.901 MB / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/0.3909, allocations: 3.015 MB / 475.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3909, allocations: 0 / 475.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.3919, allocations: 173.7 kB / 476 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.3951, allocations: 0.7043 MB / 476.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.3952, allocations: 20.89 kB / 476.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/0.4103, allocations: 10.33 MB / 487.1 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002517/0.4128, allocations: 2.254 MB / 489.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007032/0.4198, allocations: 2.341 MB / 491.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/0.4205, allocations: 256.6 kB / 491.9 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.4207, allocations: 23.98 kB / 491.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.4216, allocations: 71.92 kB / 492 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.422, allocations: 100.8 kB / 492.1 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.422, allocations: 27.98 kB / 492.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005299/0.4226, allocations: 391.2 kB / 492.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4226, allocations: 0 / 492.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001354/0.4239, allocations: 344 kB / 492.8 MB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ($STATESET1.x,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 (63): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007348/0.4313, allocations: 2.924 MB / 495.8 MB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004632/0.4359, allocations: 1.963 MB / 497.7 MB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4359, allocations: 0 / 497.7 MB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.4388, allocations: 1.272 MB / 499 MB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.44, allocations: 183.8 kB / 499.2 MB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.4598, allocations: 8.892 MB / 0.4962 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.4605, allocations: 0.9564 MB / 0.4971 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005975/0.4611, allocations: 102.7 kB / 0.4972 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.4616, allocations: 287.3 kB / 0.4975 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4616, allocations: 4 kB / 0.4975 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08177/0.5433, allocations: 29.16 MB / 0.5259 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.94, allocations: 3.438 kB / 0.5259 GB, free: 13.45 MB / 446.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.52242216299055]