Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 108.3 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 189.8 kB / 17.55 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008929/0.000893, allocations: 43.09 kB / 300.1 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.07961, allocations: 49.45 MB / 349.6 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005181/0.08483, allocations: 4.379 MB / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.08671, allocations: 1.211 MB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.08692, allocations: 11.94 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.08724, allocations: 103.3 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.08772, allocations: 226.2 kB / 355.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.08807, allocations: 171.8 kB / 355.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.08889, allocations: 0.9308 MB / 356.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.08923, allocations: 256.8 kB / 356.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.08962, allocations: 354.7 kB / 357.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.09, allocations: 402.3 kB / 357.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.09011, allocations: 76 kB / 357.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.09023, allocations: 80 kB / 357.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.09037, allocations: 167.4 kB / 357.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.09071, allocations: 414.1 kB / 358.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.09147, allocations: 0.9071 MB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09148, allocations: 0 / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.09149, allocations: 7.984 kB / 359.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.09151, allocations: 0 / 359.2 MB, free: 11.08 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.001863/0.09338, allocations: 1.117 MB / 360.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.09342, allocations: 11.97 kB / 360.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.09357, allocations: 84 kB / 360.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.09417, allocations: 476.6 kB / 360.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.09433, allocations: 101 kB / 361 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.09442, allocations: 48.38 kB / 361 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.09553, allocations: 0.6555 MB / 361.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.09556, allocations: 0 / 361.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.09562, allocations: 16 kB / 361.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.09563, allocations: 12 kB / 361.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.09665, allocations: 455.6 kB / 362.2 MB, free: 7.938 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.002903/0.09957, allocations: 1.959 MB / 364.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.1015, allocations: 0.6902 MB / 364.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.102, allocations: 273.3 kB / 365.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.1021, allocations: 8.422 kB / 365.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1021, allocations: 43 kB / 365.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.1021, allocations: 480 / 365.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005127/0.1073, allocations: 1.483 MB / 366.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/0.1075, allocations: 0.5605 MB / 367.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.1081, allocations: 0.5381 MB / 367.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.1082, allocations: 45.7 kB / 367.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1084, allocations: 284.5 kB / 368 MB, free: 1.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1085, allocations: 185.3 kB / 368.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.1087, allocations: 114.1 kB / 368.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1089, allocations: 374.7 kB / 368.7 MB, free: 1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.1094, allocations: 189 kB / 368.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.1101, allocations: 419.1 kB / 369.3 MB, free: 340 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1345/0.2445, allocations: 487.8 kB / 369.8 MB, free: 25.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2446, allocations: 0.6562 kB / 369.8 MB, free: 25.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002508/0.2471, allocations: 0.8094 MB / 370.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.2471, allocations: 33.39 kB / 370.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2471, allocations: 0.6875 kB / 370.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.2482, allocations: 222.3 kB / 370.8 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.249, allocations: 128.1 kB / 371 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/0.2555, allocations: 5.613 MB / 376.6 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.2562, allocations: 81.52 kB / 376.6 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.2562, allocations: 18.83 kB / 376.7 MB, free: 20.64 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.0002343/0.2564, allocations: 196.4 kB / 376.9 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2566, allocations: 71 kB / 376.9 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.2588, allocations: 0.7744 MB / 377.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2589, allocations: 17.27 kB / 377.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2589, allocations: 0.75 kB / 377.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002088/0.261, allocations: 1.033 MB / 378.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.2642, allocations: 1.491 MB / 380.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2642, allocations: 1.469 kB / 380.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/0.265, allocations: 135.6 kB / 380.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008795/0.2659, allocations: 174.1 kB / 380.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.2659, allocations: 12.62 kB / 380.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/0.2705, allocations: 3.798 MB / 384.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2705, allocations: 6.5 kB / 384.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.2733, allocations: 1.071 MB / 385.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2736, allocations: 206.5 kB / 385.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.2737, allocations: 12.38 kB / 385.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.2742, allocations: 40.47 kB / 385.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2744, allocations: 43.78 kB / 385.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2744, allocations: 16.62 kB / 385.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004625/0.2749, allocations: 385.2 kB / 386.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2749, allocations: 4 kB / 386.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007464/0.2756, allocations: 221.5 kB / 386.3 MB, free: 14.39 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.0001202/0.2758, allocations: 120.4 kB / 386.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.2781, allocations: 1.053 MB / 387.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2782, allocations: 1.094 kB / 387.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.2791, allocations: 0.5324 MB / 388 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.28, allocations: 188.8 kB / 388.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.282, allocations: 1.495 MB / 389.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2823, allocations: 0.8879 MB / 390.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.2827, allocations: 86.77 kB / 390.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2828, allocations: 54.45 kB / 390.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2828, allocations: 0 / 390.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Templates: time 0.01747/0.3003, allocations: 13.81 MB / 404.6 MB, free: 2.371 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches