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.001511/0.001511, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2531, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00521/0.2583, allocations: 4.372 MB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2605, allocations: 1.246 MB / 414.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.2608, allocations: 11.94 kB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.2612, allocations: 130.8 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.2617, allocations: 273.8 kB / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2621, allocations: 199.6 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008389/0.2629, allocations: 0.9375 MB / 416.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.2633, allocations: 252.3 kB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.2637, allocations: 362.7 kB / 417 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.2642, allocations: 410.3 kB / 417.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-05/0.2643, allocations: 76 kB / 417.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2644, allocations: 80 kB / 417.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2646, allocations: 175.3 kB / 417.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.265, allocations: 414.1 kB / 418.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.2658, allocations: 0.92 MB / 419.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2658, allocations: 4 kB / 419.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.2659, allocations: 0 / 419.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2659, allocations: 0 / 419.1 MB, free: 7.727 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.002041/0.2679, allocations: 1.105 MB / 420.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.268, allocations: 8.031 kB / 420.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.2683, allocations: 91.98 kB / 420.3 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.2691, allocations: 492.5 kB / 420.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.2692, allocations: 96.95 kB / 420.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.2693, allocations: 48.38 kB / 420.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2704, allocations: 0.655 MB / 421.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2704, allocations: 0 / 421.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.2705, allocations: 20 kB / 421.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2705, allocations: 15.98 kB / 421.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2716, allocations: 455.6 kB / 422 MB, free: 4.578 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.002973/0.2745, allocations: 1.944 MB / 424 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2765, allocations: 0.6898 MB / 424.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.277, allocations: 265.6 kB / 424.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-05/0.2771, allocations: 16.41 kB / 424.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2771, allocations: 46.88 kB / 425 MB, free: 1.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.673e-06/0.2771, allocations: 0 / 425 MB, free: 1.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004927/0.2821, allocations: 1.472 MB / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002372/0.2823, allocations: 0.5643 MB / 427 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.2829, allocations: 0.5498 MB / 427.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.283, allocations: 37.7 kB / 427.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.2832, allocations: 284.8 kB / 427.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2834, allocations: 185.3 kB / 428.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2836, allocations: 110.2 kB / 428.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2837, allocations: 370.8 kB / 428.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.2842, allocations: 197 kB / 428.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.2849, allocations: 416.3 kB / 429.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.286, allocations: 496.5 kB / 429.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.286, allocations: 0 / 429.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002249/0.2882, allocations: 0.8184 MB / 430.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.2883, allocations: 29.7 kB / 430.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2883, allocations: 0 / 430.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.2893, allocations: 226.4 kB / 430.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.2901, allocations: 123.8 kB / 430.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.2975, allocations: 5.607 MB / 436.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.2982, allocations: 71.55 kB / 436.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.2982, allocations: 23.98 kB / 436.5 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.0002761/0.2985, allocations: 201.7 kB / 436.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2986, allocations: 67.25 kB / 436.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.3009, allocations: 0.7734 MB / 437.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3009, allocations: 8 kB / 437.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3009, allocations: 4 kB / 437.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/0.3031, allocations: 1.035 MB / 438.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3061, allocations: 1.501 MB / 440.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3061, allocations: 3.938 kB / 440.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.3069, allocations: 135.8 kB / 440.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000839/0.3078, allocations: 169.6 kB / 440.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.3078, allocations: 11.98 kB / 440.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.3129, allocations: 3.814 MB / 444.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3129, allocations: 0 / 444.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.3157, allocations: 1.059 MB / 445.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.316, allocations: 204.3 kB / 445.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.3161, allocations: 19.98 kB / 445.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.3166, allocations: 31.97 kB / 445.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3167, allocations: 52.42 kB / 445.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.3168, allocations: 15.94 kB / 445.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.3173, allocations: 394.8 kB / 446 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3173, allocations: 0 / 446 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007223/0.318, allocations: 211.8 kB / 446.2 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.0001382/0.3181, allocations: 111.2 kB / 446.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.3203, allocations: 1.046 MB / 447.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3204, allocations: 3.953 kB / 447.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.3214, allocations: 0.5318 MB / 447.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3221, allocations: 194.4 kB / 448.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3242, allocations: 1.252 MB / 449.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3247, allocations: 0.8918 MB / 450.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.3249, allocations: 81.12 kB / 450.3 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3251, allocations: 59.42 kB / 450.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3251, allocations: 0 / 450.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of Templates: time 0.02224/0.3473, allocations: 14.2 MB / 464.5 MB, free: 8.602 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches