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.001703/0.001703, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001915/0.001915, allocations: 188.2 kB / 18.66 MB, free: 4.375 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.499/1.499, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.002012/0.002012, allocations: 51.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1408, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006872/0.1477, allocations: 4.361 MB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.214/0.3618, allocations: 1.25 MB / 380.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.3621, allocations: 9.125 kB / 380.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.3625, allocations: 132 kB / 380.9 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.363, allocations: 269.1 kB / 381.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.3634, allocations: 193.7 kB / 381.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008928/0.3643, allocations: 0.9359 MB / 382.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.3647, allocations: 244.1 kB / 382.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.3652, allocations: 368.2 kB / 382.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.3658, allocations: 404.7 kB / 383.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.366, allocations: 76.12 kB / 383.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3662, allocations: 82.12 kB / 383.4 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3664, allocations: 170.8 kB / 383.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004064/0.3668, allocations: 418.6 kB / 384 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3678, allocations: 0.9206 MB / 384.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3678, allocations: 2.188 kB / 384.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3678, allocations: 0 / 384.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3678, allocations: 0 / 384.9 MB, free: 8.504 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.001793/0.3696, allocations: 1.11 MB / 386 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3697, allocations: 14.94 kB / 386 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3698, allocations: 85.09 kB / 386.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.3705, allocations: 482.2 kB / 386.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3706, allocations: 101.8 kB / 386.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.3707, allocations: 45 kB / 386.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3719, allocations: 0.6504 MB / 387.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3719, allocations: 3.906 kB / 387.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.372, allocations: 23.22 kB / 387.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.372, allocations: 11.47 kB / 387.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.3731, allocations: 452.1 kB / 387.9 MB, free: 6.656 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.003138/0.3762, allocations: 1.945 MB / 389.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.3782, allocations: 0.6941 MB / 390.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.3788, allocations: 258.4 kB / 390.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.3788, allocations: 8.656 kB / 390.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3789, allocations: 49.34 kB / 390.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.184e-06/0.3789, allocations: 0 / 390.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.005175/0.384, allocations: 1.484 MB / 392.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.3842, allocations: 0.5711 MB / 392.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.385, allocations: 0.5358 MB / 393.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.385, allocations: 38.95 kB / 393.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3852, allocations: 289.7 kB / 393.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3854, allocations: 185.2 kB / 393.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.3856, allocations: 112.6 kB / 394 MB, free: 2.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3857, allocations: 376.1 kB / 394.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.3863, allocations: 193.9 kB / 394.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.3869, allocations: 418.4 kB / 395 MB, free: 2.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.388, allocations: 492.5 kB / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.388, allocations: 1.25 kB / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002381/0.3904, allocations: 0.8047 MB / 396.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.3905, allocations: 36.8 kB / 396.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3905, allocations: 5.75 kB / 396.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.3916, allocations: 218.9 kB / 396.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.3924, allocations: 128.4 kB / 396.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007687/0.4001, allocations: 5.6 MB / 402.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/0.4011, allocations: 77.12 kB / 402.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.4011, allocations: 22.44 kB / 402.4 MB, free: 12.55 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.0003772/0.4015, allocations: 197.8 kB / 402.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4016, allocations: 73.69 kB / 402.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.4041, allocations: 0.7734 MB / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4041, allocations: 5.5 kB / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4041, allocations: 0 / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002339/0.4065, allocations: 1.046 MB / 404.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.4103, allocations: 1.495 MB / 405.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4103, allocations: 9.062 kB / 405.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.4111, allocations: 129.8 kB / 406.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/0.4119, allocations: 172.4 kB / 406.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.412, allocations: 19.14 kB / 406.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.4175, allocations: 3.795 MB / 410.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4175, allocations: 0 / 410.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.4206, allocations: 1.071 MB / 411.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.421, allocations: 207.1 kB / 411.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4211, allocations: 12.75 kB / 411.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.4217, allocations: 37.69 kB / 411.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4218, allocations: 47.58 kB / 411.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.4218, allocations: 21.86 kB / 411.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.4224, allocations: 384.8 kB / 411.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4224, allocations: 0 / 411.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00094/0.4233, allocations: 218.4 kB / 412 MB, free: 5.605 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.0001951/0.4235, allocations: 114.4 kB / 412.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.4261, allocations: 1.035 MB / 413.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4261, allocations: 1.469 kB / 413.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.4272, allocations: 0.5333 MB / 413.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.4281, allocations: 188.1 kB / 413.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.4307, allocations: 1.281 MB / 415.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.4315, allocations: 0.8855 MB / 416.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004876/0.432, allocations: 80.34 kB / 416.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.4322, allocations: 57.2 kB / 416.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4322, allocations: 0 / 416.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Templates: time 0.03513/0.4674, allocations: 14.2 MB / 430.4 MB, free: 5.773 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