Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001196/0.001196, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.00115/0.00115, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1374, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.008134/0.1455, allocations: 4.373 MB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2418/0.3874, allocations: 1.25 MB / 380.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.3878, allocations: 9.594 kB / 380.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.3882, allocations: 134.3 kB / 380.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.3888, allocations: 266.8 kB / 381.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.3893, allocations: 192.2 kB / 381.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009754/0.3902, allocations: 0.9352 MB / 382.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.3907, allocations: 247.9 kB / 382.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.3912, allocations: 360.2 kB / 382.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.3918, allocations: 402.8 kB / 383.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3919, allocations: 76.84 kB / 383.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.3921, allocations: 80.53 kB / 383.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3922, allocations: 177.4 kB / 383.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.3927, allocations: 412 kB / 384 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3938, allocations: 0.9253 MB / 384.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3938, allocations: 0.7031 kB / 384.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3938, allocations: 0 / 384.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.3939, allocations: 1.156 kB / 384.9 MB, free: 8.785 MB / 318.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.002048/0.3959, allocations: 1.14 MB / 386.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.396, allocations: 11.27 kB / 386.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.3962, allocations: 90.67 kB / 386.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.397, allocations: 486.4 kB / 386.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3972, allocations: 97.2 kB / 386.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.3973, allocations: 46.62 kB / 386.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.3986, allocations: 0.6471 MB / 387.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3986, allocations: 6.516 kB / 387.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.3987, allocations: 21.34 kB / 387.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3987, allocations: 11.44 kB / 387.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.3997, allocations: 460.5 kB / 387.9 MB, free: 6.895 MB / 318.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.003154/0.4029, allocations: 1.945 MB / 389.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.4048, allocations: 0.6872 MB / 390.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.4055, allocations: 259 kB / 390.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.4055, allocations: 19.52 kB / 390.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4056, allocations: 48.05 kB / 390.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.084e-06/0.4056, allocations: 0.875 kB / 390.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.005654/0.4112, allocations: 1.479 MB / 392.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002891/0.4115, allocations: 0.567 MB / 392.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4127, allocations: 0.5387 MB / 393.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.4128, allocations: 40.11 kB / 393.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.4132, allocations: 285.3 kB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.4135, allocations: 199.4 kB / 394 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.4138, allocations: 109 kB / 394.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.414, allocations: 377.9 kB / 394.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.4145, allocations: 195.5 kB / 394.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.4153, allocations: 417.7 kB / 395 MB, free: 2.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.4164, allocations: 492.9 kB / 395.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4164, allocations: 2.688 kB / 395.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002452/0.4189, allocations: 0.8136 MB / 396.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.4189, allocations: 31.61 kB / 396.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.419, allocations: 3.906 kB / 396.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.4202, allocations: 222.3 kB / 396.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.421, allocations: 129.2 kB / 396.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.43, allocations: 5.607 MB / 402.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4313, allocations: 72.3 kB / 402.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.4314, allocations: 23.28 kB / 402.4 MB, free: 12.77 MB / 334.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.0006115/0.432, allocations: 198.7 kB / 402.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.4323, allocations: 75.33 kB / 402.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.4349, allocations: 0.7752 MB / 403.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.435, allocations: 5.531 kB / 403.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.435, allocations: 0 / 403.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002605/0.4376, allocations: 1.044 MB / 404.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.4413, allocations: 1.502 MB / 406 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4414, allocations: 9 kB / 406 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.4422, allocations: 125.8 kB / 406.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008348/0.443, allocations: 176.8 kB / 406.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.4431, allocations: 16.06 kB / 406.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/0.4484, allocations: 3.804 MB / 410.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4484, allocations: 1.312 kB / 410.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.4513, allocations: 1.065 MB / 411.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.4517, allocations: 207.2 kB / 411.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.4517, allocations: 12 kB / 411.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.4522, allocations: 37 kB / 411.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.4524, allocations: 52.22 kB / 411.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4524, allocations: 17.97 kB / 411.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.4529, allocations: 384.6 kB / 411.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4529, allocations: 1.406 kB / 411.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008483/0.4538, allocations: 221.3 kB / 412.1 MB, free: 5.773 MB / 334.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.0001718/0.454, allocations: 122.6 kB / 412.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.4564, allocations: 1.034 MB / 413.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4564, allocations: 2.25 kB / 413.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4574, allocations: 0.5325 MB / 413.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.4584, allocations: 194.2 kB / 414 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4606, allocations: 1.288 MB / 415.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.4611, allocations: 0.8881 MB / 416.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.4614, allocations: 77.97 kB / 416.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4615, allocations: 55.83 kB / 416.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4615, allocations: 4 kB / 416.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of Templates: time 0.02164/0.4832, allocations: 14.19 MB / 430.5 MB, free: 5.82 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches