Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002119/0.002123, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 89.94 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2809/0.2809, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.701e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.02/8.138, allocations: 2.782 GB / 3.254 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/8.138, allocations: 83.64 kB / 3.254 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/10.29, allocations: 439.5 MB / 3.684 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/10.29, allocations: 0 / 3.684 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.14e-05/10.29, allocations: 19.94 kB / 3.684 GB, free: 43.66 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007312/10.3, allocations: 1.749 MB / 3.685 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/10.3, allocations: 8.031 kB / 3.685 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/10.31, allocations: 326.8 kB / 3.686 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/10.31, allocations: 0.5678 MB / 3.686 GB, free: 40.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/10.31, allocations: 45.31 kB / 3.686 GB, free: 40.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/10.31, allocations: 64 kB / 3.686 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/10.31, allocations: 0.9681 MB / 3.687 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/10.31, allocations: 3.984 kB / 3.687 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/10.31, allocations: 31.95 kB / 3.687 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/10.31, allocations: 25.3 kB / 3.687 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/10.31, allocations: 0.8091 MB / 3.688 GB, free: 38.94 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006908/10.32, allocations: 4.472 MB / 3.693 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/10.32, allocations: 0.7153 MB / 3.693 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/10.32, allocations: 233.6 kB / 3.693 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5422/10.87, allocations: 55.72 MB / 3.748 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/10.87, allocations: 37.91 kB / 3.748 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.647e-06/10.87, allocations: 0 / 3.748 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007788/10.87, allocations: 1.87 MB / 3.75 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/10.87, allocations: 109.8 kB / 3.75 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/10.87, allocations: 467.2 kB / 3.75 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/10.87, allocations: 39.33 kB / 3.75 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/10.87, allocations: 353.7 kB / 3.751 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/10.87, allocations: 180.9 kB / 3.751 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/10.87, allocations: 15.44 kB / 3.751 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/10.87, allocations: 328.8 kB / 3.751 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/10.88, allocations: 190.4 kB / 3.751 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/10.88, allocations: 368.5 kB / 3.752 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/10.88, allocations: 233.2 kB / 3.752 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/10.88, allocations: 0 / 3.752 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002493/10.88, allocations: 0.7848 MB / 3.753 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004055/10.88, allocations: 1.834 MB / 3.754 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/10.88, allocations: 6.781 kB / 3.754 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/10.88, allocations: 399.9 kB / 3.755 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/10.88, allocations: 132.8 kB / 3.755 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/10.88, allocations: 0.8785 MB / 3.756 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/10.89, allocations: 91.47 kB / 3.756 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/10.89, allocations: 41.52 kB / 3.756 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/10.89, allocations: 3.812 kB / 3.756 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/10.89, allocations: 0.6927 MB / 3.757 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/10.89, allocations: 7.625 kB / 3.757 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/10.89, allocations: 280.9 kB / 3.757 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/10.89, allocations: 140 kB / 3.757 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/10.89, allocations: 0.8192 MB / 3.758 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/10.89, allocations: 93.69 kB / 3.758 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/10.89, allocations: 33.33 kB / 3.758 GB, free: 45.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002715/10.89, allocations: 139.5 kB / 3.758 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/10.9, allocations: 64.94 kB / 3.758 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/10.9, allocations: 2.674 MB / 3.761 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/10.9, allocations: 35.77 kB / 3.761 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/10.9, allocations: 6.344 kB / 3.761 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/10.9, allocations: 3.469 kB / 3.761 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/10.91, allocations: 3.724 MB / 3.764 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/10.91, allocations: 2.531 kB / 3.764 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/10.91, allocations: 147 kB / 3.765 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/10.91, allocations: 102.1 kB / 3.765 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/10.91, allocations: 16.66 kB / 3.765 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008239/10.91, allocations: 1.136 MB / 3.766 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/10.91, allocations: 0 / 3.766 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/10.91, allocations: 2.106 MB / 3.768 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/10.91, allocations: 367.1 kB / 3.768 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/10.91, allocations: 9.75 kB / 3.768 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/10.91, allocations: 71.19 kB / 3.768 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/10.91, allocations: 54.56 kB / 3.768 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/10.91, allocations: 25.38 kB / 3.768 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001028/10.91, allocations: 0.5519 MB / 3.769 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/10.91, allocations: 0 / 3.769 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006848/10.92, allocations: 1.418 MB / 3.77 GB, free: 43.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/10.93, allocations: 1.721 MB / 3.772 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003715/10.94, allocations: 1.192 MB / 3.773 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/10.94, allocations: 3.828 kB / 3.773 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/10.94, allocations: 0.683 MB / 3.774 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/10.94, allocations: 340.5 kB / 3.774 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/10.95, allocations: 1.849 MB / 3.776 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/10.95, allocations: 1.15 MB / 3.777 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/10.95, allocations: 67.11 kB / 3.777 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/10.95, allocations: 3 kB / 3.777 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.07958/11.03, allocations: 40.65 MB / 3.817 GB, free: 38.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches