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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.209/2.209, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3793, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.0106/0.3899, allocations: 4.372 MB / 414.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.3943, allocations: 1.25 MB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.395, allocations: 8 kB / 415.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.3958, allocations: 130.8 kB / 415.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3972, allocations: 261.8 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3983, allocations: 195.6 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.4005, allocations: 0.9375 MB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.4012, allocations: 256.3 kB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.4023, allocations: 362.7 kB / 417.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.4033, allocations: 410.3 kB / 418.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.4036, allocations: 76 kB / 418.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.404, allocations: 80 kB / 418.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.4043, allocations: 175.4 kB / 418.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.4052, allocations: 418 kB / 418.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.407, allocations: 0.9123 MB / 419.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4071, allocations: 4 kB / 419.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4071, allocations: 0 / 419.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.327e-05/0.4071, allocations: 0 / 419.7 MB, free: 7.789 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.003995/0.4111, allocations: 1.109 MB / 420.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.4112, allocations: 12.02 kB / 420.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.4117, allocations: 88 kB / 420.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.4133, allocations: 492.5 kB / 421.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.4135, allocations: 96.95 kB / 421.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.4137, allocations: 52.31 kB / 421.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.4161, allocations: 0.6526 MB / 422.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.4161, allocations: 0 / 422.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4162, allocations: 20 kB / 422.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.4163, allocations: 8 kB / 422.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.4185, allocations: 455.7 kB / 422.7 MB, free: 4.641 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.005951/0.4245, allocations: 1.94 MB / 424.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.4284, allocations: 0.6982 MB / 425.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4296, allocations: 266 kB / 425.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.655e-05/0.4297, allocations: 12.36 kB / 425.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.4297, allocations: 43 kB / 425.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 4.368e-06/0.4298, allocations: 0 / 425.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.009999/0.4398, allocations: 1.48 MB / 427.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004352/0.4403, allocations: 0.5643 MB / 427.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.4417, allocations: 0.542 MB / 428.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.4419, allocations: 41.7 kB / 428.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.4423, allocations: 284.8 kB / 428.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.4427, allocations: 185.3 kB / 428.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.4431, allocations: 110.2 kB / 428.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.4434, allocations: 370.8 kB / 429.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4444, allocations: 197 kB / 429.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4458, allocations: 416.2 kB / 429.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.448, allocations: 492.5 kB / 430.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4481, allocations: 0 / 430.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004721/0.4528, allocations: 0.8145 MB / 431.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.4529, allocations: 33.7 kB / 431.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4529, allocations: 0 / 431.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4549, allocations: 222.4 kB / 431.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4564, allocations: 127.8 kB / 431.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.4701, allocations: 5.604 MB / 437.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4715, allocations: 71.55 kB / 437.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.4717, allocations: 23.98 kB / 437.2 MB, free: 5.188 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.0006876/0.4724, allocations: 201.7 kB / 437.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.4728, allocations: 67.25 kB / 437.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/0.4774, allocations: 0.7695 MB / 438.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4774, allocations: 8 kB / 438.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4775, allocations: 0 / 438.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004335/0.4818, allocations: 1.042 MB / 439.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/0.4885, allocations: 1.498 MB / 440.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4886, allocations: 3.938 kB / 440.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.4901, allocations: 135.8 kB / 440.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.4919, allocations: 169.5 kB / 441 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.492, allocations: 15.98 kB / 441.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.5027, allocations: 3.818 MB / 444.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5028, allocations: 0 / 444.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.5083, allocations: 1.063 MB / 445.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.5091, allocations: 208.1 kB / 446.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.5094, allocations: 15.98 kB / 446.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5106, allocations: 35.97 kB / 446.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.5108, allocations: 40.5 kB / 446.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.5109, allocations: 23.92 kB / 446.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.512, allocations: 386.8 kB / 446.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.512, allocations: 0 / 446.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001578/0.5136, allocations: 215.8 kB / 446.8 MB, free: 10.96 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.0002809/0.5139, allocations: 111.2 kB / 446.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.5186, allocations: 1.042 MB / 448 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/0.5186, allocations: 7.953 kB / 448 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.5207, allocations: 0.5318 MB / 448.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.5227, allocations: 190.5 kB / 448.7 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.5271, allocations: 1.296 MB / 450 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/0.528, allocations: 0.8879 MB / 450.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.5284, allocations: 63.42 kB / 451 MB, free: 6.699 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5285, allocations: 0 / 451 MB, free: 6.699 MB / 366.1 MB Notification: Performance of Templates: time 0.03864/0.5671, allocations: 15.52 MB / 466.5 MB, free: 7.254 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches