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.002641/0.00264, allocations: 103.9 kB / 18.39 MB, free: 4.66 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.003087/0.003087, allocations: 186.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.181/3.181, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001695/0.001696, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.01002/0.1538, allocations: 4.37 MB / 380.2 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.4143, allocations: 1.244 MB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.4148, allocations: 10 kB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.4156, allocations: 136.8 kB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009206/0.4165, allocations: 266.7 kB / 381.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.4173, allocations: 191.8 kB / 382 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.4189, allocations: 0.938 MB / 382.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.4195, allocations: 249.3 kB / 383.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.4205, allocations: 366.9 kB / 383.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/0.4214, allocations: 408.4 kB / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.4216, allocations: 75.88 kB / 384 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.4219, allocations: 81.72 kB / 384.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.4221, allocations: 168.8 kB / 384.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.4227, allocations: 412.8 kB / 384.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.4243, allocations: 0.9218 MB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4243, allocations: 1.094 kB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4244, allocations: 0 / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4244, allocations: 0 / 385.6 MB, free: 8.5 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.002764/0.4272, allocations: 1.104 MB / 386.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.4272, allocations: 13.34 kB / 386.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.4275, allocations: 87.09 kB / 386.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4285, allocations: 485 kB / 387.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.4287, allocations: 99.59 kB / 387.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4288, allocations: 42.03 kB / 387.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.4306, allocations: 0.6587 MB / 388.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4306, allocations: 4.469 kB / 388.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.4307, allocations: 22.66 kB / 388.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.4307, allocations: 10.91 kB / 388.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.4322, allocations: 449.9 kB / 388.5 MB, free: 6.652 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.003781/0.4359, allocations: 1.95 MB / 390.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.4382, allocations: 0.6904 MB / 391.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.4389, allocations: 262.5 kB / 391.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.439, allocations: 13.12 kB / 391.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.4391, allocations: 47.62 kB / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.996e-06/0.4391, allocations: 0 / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.006669/0.4458, allocations: 1.476 MB / 393 MB, free: 4.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.446, allocations: 0.5712 MB / 393.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.4469, allocations: 0.5358 MB / 394.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.447, allocations: 38.64 kB / 394.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.4473, allocations: 287.9 kB / 394.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.4475, allocations: 185.9 kB / 394.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.4477, allocations: 112.9 kB / 394.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4479, allocations: 380.6 kB / 395.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.4486, allocations: 191 kB / 395.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.4496, allocations: 423.4 kB / 395.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.451, allocations: 488.4 kB / 396.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4511, allocations: 0.7031 kB / 396.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003362/0.4544, allocations: 0.8061 MB / 396.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.4545, allocations: 31.66 kB / 397 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4545, allocations: 1.438 kB / 397 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.456, allocations: 230.4 kB / 397.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4571, allocations: 126.4 kB / 397.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4678, allocations: 5.604 MB / 402.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.4691, allocations: 73.77 kB / 403 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.4691, allocations: 23.19 kB / 403 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.0005483/0.4697, allocations: 197.6 kB / 403.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.4699, allocations: 72.56 kB / 403.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.4725, allocations: 0.7766 MB / 404.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4726, allocations: 5.5 kB / 404.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4726, allocations: 2.406 kB / 404.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002881/0.4755, allocations: 1.044 MB / 405.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.4796, allocations: 1.493 MB / 406.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4797, allocations: 7.938 kB / 406.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009467/0.4806, allocations: 130.2 kB / 406.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.4817, allocations: 185.1 kB / 406.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.4817, allocations: 10.38 kB / 406.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/0.4891, allocations: 3.795 MB / 410.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4892, allocations: 0 / 410.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004482/0.4937, allocations: 1.074 MB / 411.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/0.4943, allocations: 203.2 kB / 412 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.4944, allocations: 13.16 kB / 412 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.4951, allocations: 37.72 kB / 412.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.4952, allocations: 42.56 kB / 412.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.4953, allocations: 22.52 kB / 412.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000602/0.4959, allocations: 388.6 kB / 412.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4959, allocations: 0 / 412.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009484/0.4968, allocations: 219.2 kB / 412.7 MB, free: 5.594 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.0001881/0.497, allocations: 113.4 kB / 412.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.4999, allocations: 1.036 MB / 413.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4999, allocations: 1.094 kB / 413.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.501, allocations: 0.5293 MB / 414.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5021, allocations: 195.6 kB / 414.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5046, allocations: 1.307 MB / 415.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.5052, allocations: 0.8869 MB / 416.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.5054, allocations: 58.8 kB / 416.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5054, allocations: 3.938 kB / 416.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Templates: time 0.02754/0.5329, allocations: 15.52 MB / 432.4 MB, free: 4.457 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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