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.001366/0.001366, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001627/0.001627, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.307/1.307, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 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.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.001702/0.001702, allocations: 63.89 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.213, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00541/0.2184, allocations: 4.431 MB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.2204, allocations: 1.261 MB / 437.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.2206, allocations: 7.938 kB / 437.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.2209, allocations: 134.8 kB / 437.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.2214, allocations: 265.8 kB / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.2217, allocations: 203.6 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.2226, allocations: 0.9297 MB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.2229, allocations: 177.1 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.2233, allocations: 378.7 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.2238, allocations: 406.3 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2239, allocations: 76 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.224, allocations: 84 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2242, allocations: 167.4 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.2245, allocations: 422 kB / 440.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.2254, allocations: 0.9155 MB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2254, allocations: 7.922 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2254, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2254, allocations: 7.938 kB / 441.8 MB, free: 12.83 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.001891/0.2273, allocations: 1.061 MB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2273, allocations: 8.031 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.207e-05/0.2274, allocations: 13.19 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.2275, allocations: 91.7 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.2277, allocations: 100.4 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.2284, allocations: 439.1 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.2286, allocations: 152.4 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.2287, allocations: 52.12 kB / 443.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.2298, allocations: 0.6632 MB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2298, allocations: 4 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.2299, allocations: 20 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2299, allocations: 15.98 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2309, allocations: 467.6 kB / 444.8 MB, free: 9.59 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.002922/0.2339, allocations: 1.919 MB / 446.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.2356, allocations: 0.5882 MB / 447.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.2361, allocations: 249.8 kB / 447.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.2362, allocations: 16.47 kB / 447.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2362, allocations: 43.06 kB / 447.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.613e-06/0.2362, allocations: 4 kB / 447.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.01694/0.2532, allocations: 4.679 MB / 452.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003145/0.2563, allocations: 2.938 MB / 455.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.257, allocations: 0.5421 MB / 455.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.2571, allocations: 45.7 kB / 455.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2573, allocations: 297.8 kB / 456.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.2576, allocations: 337 kB / 456.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.2579, allocations: 170.6 kB / 456.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2581, allocations: 382.8 kB / 457 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2592, allocations: 437.8 kB / 457.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.2604, allocations: 0.6573 MB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.2626, allocations: 0.9741 MB / 459.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2626, allocations: 0 / 459.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005089/0.2677, allocations: 1.678 MB / 460.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.2677, allocations: 33.7 kB / 460.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2677, allocations: 4.031 kB / 460.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.2705, allocations: 0.6528 MB / 461.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.2715, allocations: 195.7 kB / 461.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.2863, allocations: 10.9 MB / 472.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.2874, allocations: 79.97 kB / 472.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.2875, allocations: 35.97 kB / 472.6 MB, free: 12.45 MB / 382.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.0003735/0.2879, allocations: 213.7 kB / 472.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.2881, allocations: 99.42 kB / 472.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/0.2932, allocations: 1.669 MB / 474.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2932, allocations: 12 kB / 474.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.2932, allocations: 0 / 474.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005078/0.2983, allocations: 1.898 MB / 476.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007294/0.3056, allocations: 2.957 MB / 479.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3056, allocations: 0 / 479.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/0.3066, allocations: 171.8 kB / 479.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/0.3096, allocations: 0.7104 MB / 480.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/0.3096, allocations: 23.97 kB / 480.4 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.3235, allocations: 9.804 MB / 490.2 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002187/0.3257, allocations: 2.146 MB / 492.3 MB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006415/0.3321, allocations: 2.338 MB / 494.7 MB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.3326, allocations: 183.3 kB / 494.9 MB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3327, allocations: 20 kB / 494.9 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.3336, allocations: 67.92 kB / 494.9 MB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.3338, allocations: 112.7 kB / 495.1 MB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.3339, allocations: 23.98 kB / 495.1 MB, free: 5.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004806/0.3344, allocations: 386.8 kB / 495.5 MB, free: 4.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3344, allocations: 112 / 495.5 MB, free: 4.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001134/0.3355, allocations: 355.9 kB / 495.8 MB, free: 4.332 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.006801/0.3423, allocations: 2.92 MB / 498.7 MB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004247/0.3465, allocations: 1.957 MB / 0.4889 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3465, allocations: 0 / 0.4889 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.3492, allocations: 1.276 MB / 0.4902 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.3501, allocations: 194.7 kB / 0.4904 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.3681, allocations: 8.874 MB / 0.499 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.3686, allocations: 0.9603 MB / 0.5 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.3691, allocations: 102.7 kB / 0.5001 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.3695, allocations: 291.2 kB / 0.5004 GB, free: 3.367 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3695, allocations: 7.938 kB / 0.5004 GB, free: 3.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/0.4441, allocations: 29.99 MB / 0.5297 GB, free: 5.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.43, allocations: 6.875 kB / 0.5297 GB, free: 5.648 MB / 446.1 MB " [Timeout remaining time 645] (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.97163842205191]