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.0009597/0.0009597, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009587, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002336/0.0002336, allocations: 8 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09468, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003611/0.09832, allocations: 3.491 MB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1001, allocations: 1.169 MB / 362.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.1003, allocations: 8 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1005, allocations: 79.38 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.101, allocations: 291.2 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1014, allocations: 147.8 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007115/0.1021, allocations: 0.6349 MB / 363.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.1024, allocations: 196.4 kB / 364.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.1028, allocations: 310.9 kB / 364.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.1032, allocations: 346.6 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.1032, allocations: 44 kB / 364.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1034, allocations: 52 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1035, allocations: 123.5 kB / 364.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1036, allocations: 169.3 kB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.1042, allocations: 0.6351 MB / 365.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1042, allocations: 0 / 365.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1042, allocations: 0 / 365.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1042, allocations: 0 / 365.7 MB, free: 6.453 MB / 302.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.00169/0.1059, allocations: 0.9988 MB / 366.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1059, allocations: 8.031 kB / 366.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.1062, allocations: 91.05 kB / 366.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.1067, allocations: 427.8 kB / 367.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1069, allocations: 104.3 kB / 367.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.107, allocations: 44 kB / 367.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1081, allocations: 0.6561 MB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1081, allocations: 0 / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.1081, allocations: 23.98 kB / 368.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1082, allocations: 15.94 kB / 368.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.1092, allocations: 475.7 kB / 368.5 MB, free: 3.453 MB / 302.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.002841/0.1121, allocations: 1.936 MB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.1141, allocations: 0.7375 MB / 371.2 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1141, allocations: 16.42 kB / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1142, allocations: 50.94 kB / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.783e-06/0.1142, allocations: 0 / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.1784/0.2926, allocations: 1.583 MB / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2928, allocations: 0.5688 MB / 373.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.2934, allocations: 0.4946 MB / 373.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.2934, allocations: 38.67 kB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2936, allocations: 283.6 kB / 374.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.2937, allocations: 193.6 kB / 374.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.2938, allocations: 8.656 kB / 374.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.2939, allocations: 373.6 kB / 374.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.2944, allocations: 207.6 kB / 375 MB, free: 17.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.2952, allocations: 425.3 kB / 375.4 MB, free: 17.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.2958, allocations: 268.1 kB / 375.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2959, allocations: 0.8125 kB / 375.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002331/0.2982, allocations: 0.8598 MB / 376.5 MB, free: 17.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.2982, allocations: 31.41 kB / 376.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2982, allocations: 4.953 kB / 376.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.2993, allocations: 227.7 kB / 376.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.3, allocations: 137.6 kB / 376.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.3064, allocations: 5.307 MB / 382.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.3071, allocations: 88.08 kB / 382.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.3072, allocations: 25.92 kB / 382.3 MB, free: 12.89 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.3074, allocations: 195 kB / 382.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3075, allocations: 71.86 kB / 382.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.3099, allocations: 0.8199 MB / 383.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3099, allocations: 11.06 kB / 383.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3099, allocations: 0 / 383.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/0.312, allocations: 1.08 MB / 384.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.3151, allocations: 1.522 MB / 386 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3151, allocations: 1.281 kB / 386 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.3159, allocations: 135.8 kB / 386.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/0.3168, allocations: 181.4 kB / 386.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.3168, allocations: 13.47 kB / 386.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.3213, allocations: 3.586 MB / 390 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3213, allocations: 4.828 kB / 390 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3242, allocations: 1.128 MB / 391.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.3245, allocations: 193.9 kB / 391.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.3246, allocations: 13.66 kB / 391.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.3252, allocations: 54.41 kB / 391.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3253, allocations: 46.06 kB / 391.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.3253, allocations: 19 kB / 391.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004395/0.3258, allocations: 355.9 kB / 391.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3258, allocations: 0 / 391.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008154/0.3266, allocations: 216.2 kB / 392 MB, free: 6.883 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001536/0.3268, allocations: 121.4 kB / 392.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.3291, allocations: 1.067 MB / 393.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3291, allocations: 1.375 kB / 393.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.3301, allocations: 0.5439 MB / 393.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.3308, allocations: 163.5 kB / 393.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3328, allocations: 1.545 MB / 395.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3332, allocations: 0.8991 MB / 396.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000377/0.3336, allocations: 71.33 kB / 396.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3337, allocations: 44.11 kB / 396.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3337, allocations: 4 kB / 396.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of Templates: time 0.01916/0.3529, allocations: 11.93 MB / 408.3 MB, free: 11.32 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches