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.001055/0.001055, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.45 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08974, allocations: 50.53 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005403/0.09517, allocations: 4.377 MB / 361.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.09747, allocations: 1.246 MB / 363.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.0979, allocations: 11.94 kB / 363.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.09833, allocations: 134.8 kB / 363.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.09901, allocations: 261.8 kB / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.09949, allocations: 207.6 kB / 363.7 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.1004, allocations: 0.9142 MB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.1007, allocations: 252.8 kB / 364.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.1012, allocations: 362.6 kB / 365.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1016, allocations: 402.3 kB / 365.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1017, allocations: 76 kB / 365.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1019, allocations: 84 kB / 365.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.102, allocations: 175.3 kB / 365.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.1024, allocations: 414.1 kB / 366.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.1032, allocations: 0.9071 MB / 367.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1032, allocations: 0 / 367.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1032, allocations: 0 / 367.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1032, allocations: 0 / 367.2 MB, free: 4.312 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.001856/0.1051, allocations: 1.109 MB / 368.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1051, allocations: 16.03 kB / 368.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1053, allocations: 88 kB / 368.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1059, allocations: 484.6 kB / 368.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.1061, allocations: 96.95 kB / 369 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.1062, allocations: 48.36 kB / 369.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1073, allocations: 0.6515 MB / 369.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1073, allocations: 0 / 369.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.1073, allocations: 24 kB / 369.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1074, allocations: 12 kB / 369.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1084, allocations: 451.7 kB / 370.2 MB, free: 1.164 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.1462/0.2547, allocations: 1.949 MB / 372.1 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.2565, allocations: 0.6831 MB / 372.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2571, allocations: 269.6 kB / 373.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.2571, allocations: 13.09 kB / 373.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2572, allocations: 44.38 kB / 373.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.314e-06/0.2572, allocations: 0 / 373.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004796/0.262, allocations: 1.48 MB / 374.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2621, allocations: 0.5678 MB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.2626, allocations: 0.5489 MB / 375.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.2627, allocations: 38.3 kB / 375.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.2629, allocations: 285.6 kB / 376.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.263, allocations: 186.9 kB / 376.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2631, allocations: 108.3 kB / 376.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2632, allocations: 376.9 kB / 376.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.2637, allocations: 194.4 kB / 376.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.2643, allocations: 412.6 kB / 377.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009855/0.2653, allocations: 487.5 kB / 377.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2654, allocations: 1.344 kB / 377.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002119/0.2675, allocations: 0.8089 MB / 378.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.2675, allocations: 34.81 kB / 378.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2675, allocations: 1.953 kB / 378.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.2685, allocations: 224.9 kB / 378.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.2692, allocations: 125.8 kB / 379 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/0.2755, allocations: 5.615 MB / 384.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.2762, allocations: 80.55 kB / 384.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2762, allocations: 20.66 kB / 384.7 MB, free: 11.07 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.0002309/0.2765, allocations: 203.6 kB / 384.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2766, allocations: 67.16 kB / 384.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.2788, allocations: 0.7813 MB / 385.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2788, allocations: 6.516 kB / 385.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2788, allocations: 3.938 kB / 385.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/0.2809, allocations: 1.037 MB / 386.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.2838, allocations: 1.497 MB / 388.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2839, allocations: 2.047 kB / 388.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.2846, allocations: 130.5 kB / 388.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007901/0.2854, allocations: 178.2 kB / 388.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.2854, allocations: 13.97 kB / 388.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.2897, allocations: 3.793 MB / 392.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2897, allocations: 2.109 kB / 392.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.2924, allocations: 1.068 MB / 393.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2927, allocations: 206.3 kB / 393.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.2928, allocations: 13.94 kB / 393.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.2932, allocations: 35.97 kB / 393.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2934, allocations: 49.55 kB / 393.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2934, allocations: 25.45 kB / 393.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.2938, allocations: 384.8 kB / 394.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2938, allocations: 0 / 394.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000685/0.2945, allocations: 218.6 kB / 394.4 MB, free: 4.785 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.0001232/0.2946, allocations: 119.6 kB / 394.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2968, allocations: 1.051 MB / 395.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2969, allocations: 1.312 kB / 395.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008404/0.2977, allocations: 0.5343 MB / 396.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.2985, allocations: 187.6 kB / 396.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3003, allocations: 1.286 MB / 397.5 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3006, allocations: 0.8867 MB / 398.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.3009, allocations: 79.31 kB / 398.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.301, allocations: 56.67 kB / 398.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.301, allocations: 0 / 398.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of Templates: time 0.01978/0.3208, allocations: 14.06 MB / 412.6 MB, free: 6.633 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","/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