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.001338/0.001338, allocations: 116.4 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 211.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2553, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005269/0.2606, allocations: 4.382 MB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.2628, allocations: 1.246 MB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.2631, allocations: 11.94 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.2635, allocations: 134.8 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.264, allocations: 261.8 kB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.2645, allocations: 195.6 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.2654, allocations: 0.9258 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.2658, allocations: 252.3 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.2663, allocations: 374.6 kB / 417.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.2667, allocations: 406.3 kB / 418.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.2669, allocations: 76 kB / 418.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.267, allocations: 83.98 kB / 418.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2672, allocations: 171.4 kB / 418.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.2675, allocations: 422.1 kB / 418.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.2684, allocations: 0.9161 MB / 419.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2684, allocations: 0 / 419.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2684, allocations: 0 / 419.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2684, allocations: 0 / 419.7 MB, free: 7.734 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.001948/0.2704, allocations: 1.109 MB / 420.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2704, allocations: 12.03 kB / 420.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.2707, allocations: 95.98 kB / 420.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.2714, allocations: 484.5 kB / 421.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.2716, allocations: 96.97 kB / 421.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.2717, allocations: 44.38 kB / 421.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2728, allocations: 0.6593 MB / 422.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2729, allocations: 0 / 422.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.2729, allocations: 20 kB / 422.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.273, allocations: 12 kB / 422.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.274, allocations: 455.6 kB / 422.7 MB, free: 4.582 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.002974/0.277, allocations: 1.936 MB / 424.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.279, allocations: 0.6938 MB / 425.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.2796, allocations: 266.6 kB / 425.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.2796, allocations: 12.44 kB / 425.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2797, allocations: 46.88 kB / 425.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.933e-06/0.2797, allocations: 0 / 425.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005005/0.2847, allocations: 1.484 MB / 427.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.285, allocations: 0.5605 MB / 427.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.2856, allocations: 0.5381 MB / 428.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.2857, allocations: 41.7 kB / 428.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.286, allocations: 292.7 kB / 428.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2861, allocations: 181.3 kB / 428.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2863, allocations: 114.2 kB / 428.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2865, allocations: 374.8 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.287, allocations: 189 kB / 429.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/0.2877, allocations: 419.7 kB / 429.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2888, allocations: 492.5 kB / 430.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2888, allocations: 0 / 430.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002338/0.2912, allocations: 0.8183 MB / 431.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.2912, allocations: 33.7 kB / 431.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2913, allocations: 0 / 431.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.2923, allocations: 218.4 kB / 431.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.293, allocations: 127.8 kB / 431.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/0.3009, allocations: 5.616 MB / 437.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.3017, allocations: 75.55 kB / 437.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.3018, allocations: 16 kB / 437.2 MB, free: 5.125 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.0003597/0.3021, allocations: 197.7 kB / 437.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3023, allocations: 71.23 kB / 437.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.3047, allocations: 0.7734 MB / 438.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3047, allocations: 4 kB / 438.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3047, allocations: 0 / 438.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002216/0.3069, allocations: 1.043 MB / 439.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.3104, allocations: 1.505 MB / 440.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3104, allocations: 3.938 kB / 440.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.3112, allocations: 127.8 kB / 440.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008573/0.312, allocations: 169.6 kB / 441 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3121, allocations: 12 kB / 441.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/0.3176, allocations: 3.814 MB / 444.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3176, allocations: 0 / 444.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.3206, allocations: 1.059 MB / 445.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.321, allocations: 208.1 kB / 446.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.3211, allocations: 16 kB / 446.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.3218, allocations: 31.97 kB / 446.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.3219, allocations: 52.42 kB / 446.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.322, allocations: 19.94 kB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006389/0.3226, allocations: 382.8 kB / 446.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3226, allocations: 0 / 446.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009835/0.3236, allocations: 215.8 kB / 446.8 MB, free: 10.91 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.0002362/0.3239, allocations: 119.2 kB / 447 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.3264, allocations: 1.038 MB / 448 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.3264, allocations: 7.953 kB / 448 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3274, allocations: 0.5396 MB / 448.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.3284, allocations: 196.9 kB / 448.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3308, allocations: 1.284 MB / 450 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3313, allocations: 0.884 MB / 450.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.3315, allocations: 59.42 kB / 451 MB, free: 6.652 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3316, allocations: 0 / 451 MB, free: 6.652 MB / 366.1 MB Notification: Performance of Templates: time 0.0202/0.3518, allocations: 15.43 MB / 466.4 MB, free: 7.301 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