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.001538/0.001538, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 59.34 kB / 307.6 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 50.53 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006153/0.1118, allocations: 4.376 MB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1144, allocations: 1.25 MB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1147, allocations: 8 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.1152, allocations: 138.8 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.1157, allocations: 265.7 kB / 364.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1162, allocations: 199.7 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1172, allocations: 0.9181 MB / 365.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1176, allocations: 248.8 kB / 365.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.1182, allocations: 362.7 kB / 365.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.1187, allocations: 406.3 kB / 366.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1188, allocations: 76 kB / 366.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.119, allocations: 80 kB / 366.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1191, allocations: 171.4 kB / 366.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.1196, allocations: 422 kB / 367 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.1205, allocations: 0.9071 MB / 367.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1205, allocations: 0 / 367.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1206, allocations: 0 / 367.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1206, allocations: 0 / 367.9 MB, free: 4.238 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.002077/0.1227, allocations: 1.113 MB / 369.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1227, allocations: 8.031 kB / 369.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.123, allocations: 92 kB / 369.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.1236, allocations: 488.5 kB / 369.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.1238, allocations: 96.95 kB / 369.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.1239, allocations: 44.38 kB / 369.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1251, allocations: 0.6477 MB / 370.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1252, allocations: 4 kB / 370.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.1252, allocations: 20 kB / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.1253, allocations: 12 kB / 370.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1264, allocations: 451.6 kB / 370.9 MB, free: 1.094 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.1639/0.2902, allocations: 1.958 MB / 372.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.2923, allocations: 0.6888 MB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.2929, allocations: 266.1 kB / 373.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.293, allocations: 12.8 kB / 373.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.293, allocations: 42.67 kB / 373.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.164e-06/0.293, allocations: 0 / 373.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005202/0.2982, allocations: 1.487 MB / 375.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.2984, allocations: 0.5633 MB / 375.9 MB, free: 18.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.2991, allocations: 0.541 MB / 376.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.2992, allocations: 39.2 kB / 376.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2993, allocations: 284.1 kB / 376.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.2995, allocations: 187.7 kB / 376.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.2997, allocations: 108.2 kB / 377.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.2997, allocations: 377.8 kB / 377.4 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.3003, allocations: 192.5 kB / 377.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.3009, allocations: 417.1 kB / 378 MB, free: 16.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.3019, allocations: 486.8 kB / 378.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3019, allocations: 0 / 378.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002299/0.3042, allocations: 0.8161 MB / 379.3 MB, free: 16.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.3042, allocations: 31.45 kB / 379.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3043, allocations: 2.406 kB / 379.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3053, allocations: 224.8 kB / 379.6 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.306, allocations: 131.6 kB / 379.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.3127, allocations: 5.615 MB / 385.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.3135, allocations: 80.53 kB / 385.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3136, allocations: 18.16 kB / 385.4 MB, free: 11.12 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 (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.0002964/0.3139, allocations: 196.6 kB / 385.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.314, allocations: 67.84 kB / 385.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.3163, allocations: 0.7769 MB / 386.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3163, allocations: 5.938 kB / 386.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3164, allocations: 3.938 kB / 386.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/0.3185, allocations: 1.041 MB / 387.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.3218, allocations: 1.495 MB / 389 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3218, allocations: 0 / 389 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.3227, allocations: 127.9 kB / 389.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009035/0.3236, allocations: 177.7 kB / 389.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.3236, allocations: 18.03 kB / 389.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/0.3284, allocations: 3.804 MB / 393.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3284, allocations: 0 / 393.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.3312, allocations: 1.067 MB / 394.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.3315, allocations: 207.9 kB / 394.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.3316, allocations: 12.75 kB / 394.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.3322, allocations: 39.25 kB / 394.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3323, allocations: 49.12 kB / 394.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.3324, allocations: 19.03 kB / 394.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004368/0.3328, allocations: 383.2 kB / 394.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3328, allocations: 0 / 394.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008053/0.3337, allocations: 218.9 kB / 395.1 MB, free: 4.844 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 (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.0001541/0.3338, allocations: 110.4 kB / 395.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.3362, allocations: 1.053 MB / 396.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3363, allocations: 1.062 kB / 396.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.3372, allocations: 0.543 MB / 396.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.3381, allocations: 196.6 kB / 397 MB, free: 3.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3402, allocations: 1.304 MB / 398.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3405, allocations: 0.8869 MB / 399.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3407, allocations: 58.42 kB / 399.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3407, allocations: 0 / 399.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of Templates: time 0.02172/0.3624, allocations: 15.38 MB / 414.6 MB, free: 5.207 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/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) Reference file matches