Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001367, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.05 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.581e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.911/8.071, allocations: 2.786 GB / 3.281 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/8.071, allocations: 85.05 kB / 3.281 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.45/9.522, allocations: 439.5 MB / 3.71 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/9.522, allocations: 0 / 3.71 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.825e-05/9.522, allocations: 18.34 kB / 3.71 GB, free: 52.29 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.006693/9.528, allocations: 1.742 MB / 3.712 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/9.529, allocations: 18.02 kB / 3.712 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/9.531, allocations: 327.9 kB / 3.712 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/9.532, allocations: 0.5714 MB / 3.713 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/9.533, allocations: 27.03 kB / 3.713 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/9.533, allocations: 30.53 kB / 3.713 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009535/9.534, allocations: 0.539 MB / 3.714 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009768/9.535, allocations: 0.6419 MB / 3.714 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/9.535, allocations: 7.875 kB / 3.714 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/9.535, allocations: 0 / 3.714 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/9.535, allocations: 27.09 kB / 3.714 GB, free: 50.21 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.03364/9.568, allocations: 19.54 MB / 3.733 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/9.569, allocations: 405 kB / 3.734 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/9.57, allocations: 209.4 kB / 3.734 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08798/9.658, allocations: 48.16 MB / 3.781 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/9.658, allocations: 34.94 kB / 3.781 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 3.807e-06/9.658, allocations: 4 kB / 3.781 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.006854/9.665, allocations: 1.783 MB / 3.783 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/9.665, allocations: 107.2 kB / 3.783 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/9.665, allocations: 393 kB / 3.783 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/9.665, allocations: 25.7 kB / 3.783 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/9.666, allocations: 331.9 kB / 3.784 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/9.666, allocations: 173.5 kB / 3.784 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/9.666, allocations: 4 kB / 3.784 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001751/9.666, allocations: 362.7 kB / 3.784 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/9.666, allocations: 185.5 kB / 3.784 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/9.667, allocations: 350.4 kB / 3.785 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/9.668, allocations: 318.9 kB / 3.785 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/9.668, allocations: 4 kB / 3.785 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002373/9.67, allocations: 0.8464 MB / 3.786 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008454/9.671, allocations: 1.831 MB / 3.787 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/9.671, allocations: 8 kB / 3.787 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/9.672, allocations: 300.5 kB / 3.788 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/9.673, allocations: 131.8 kB / 3.788 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/9.674, allocations: 0.9435 MB / 3.789 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/9.675, allocations: 83.88 kB / 3.789 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/9.675, allocations: 35.98 kB / 3.789 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/9.675, allocations: 9.359 kB / 3.789 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/9.677, allocations: 0.6864 MB / 3.79 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/9.677, allocations: 15.92 kB / 3.79 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/9.678, allocations: 269 kB / 3.79 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/9.679, allocations: 139.8 kB / 3.79 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/9.68, allocations: 0.859 MB / 3.791 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/9.681, allocations: 79.78 kB / 3.791 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/9.681, allocations: 35.98 kB / 3.791 GB, free: 4.379 MB / 0.5417 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.0002426/9.681, allocations: 127.2 kB / 3.791 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/9.681, allocations: 59.3 kB / 3.791 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/9.684, allocations: 2.243 MB / 3.793 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/9.684, allocations: 31.95 kB / 3.793 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/9.684, allocations: 0 / 3.793 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/9.684, allocations: 3.656 kB / 3.793 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3213/10.01, allocations: 3.137 MB / 3.796 GB, free: 90.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/10.01, allocations: 3.375 kB / 3.796 GB, free: 90.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/10.01, allocations: 150.8 kB / 3.797 GB, free: 90.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/10.01, allocations: 88.98 kB / 3.797 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/10.01, allocations: 8.016 kB / 3.797 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006126/10.01, allocations: 1.163 MB / 3.798 GB, free: 89.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/10.01, allocations: 2.328 kB / 3.798 GB, free: 89.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/10.01, allocations: 1.857 MB / 3.8 GB, free: 89.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/10.01, allocations: 348 kB / 3.8 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/10.01, allocations: 2.062 kB / 3.8 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/10.01, allocations: 63 kB / 3.8 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/10.01, allocations: 60.22 kB / 3.8 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/10.01, allocations: 20.97 kB / 3.8 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006639/10.01, allocations: 493.9 kB / 3.801 GB, free: 89.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/10.01, allocations: 4.625 kB / 3.801 GB, free: 89.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006065/10.02, allocations: 1.369 MB / 3.802 GB, free: 89.48 MB / 0.5417 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008242/10.03, allocations: 1.825 MB / 3.804 GB, free: 89.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002164/10.03, allocations: 1.094 MB / 3.805 GB, free: 89.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/10.03, allocations: 2.688 kB / 3.805 GB, free: 89.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/10.03, allocations: 0.5872 MB / 3.805 GB, free: 89.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/10.03, allocations: 263.1 kB / 3.806 GB, free: 89.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/10.03, allocations: 1.609 MB / 3.807 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/10.04, allocations: 1.118 MB / 3.808 GB, free: 88.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001377/10.04, allocations: 0.7005 MB / 3.809 GB, free: 88.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/10.04, allocations: 53.64 kB / 3.809 GB, free: 88.26 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/10.04, allocations: 0 / 3.809 GB, free: 88.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.0509/10.09, allocations: 38.65 MB / 3.847 GB, free: 87.04 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches