Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009291/0.000929, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 86.64 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1782/0.1782, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.549e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09363, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.721, allocations: 2.781 GB / 3.247 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.721, allocations: 95.05 kB / 3.247 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/7.238, allocations: 435.2 MB / 3.672 GB, free: 62.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/7.238, allocations: 0 / 3.672 GB, free: 62.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.63e-05/7.238, allocations: 17.09 kB / 3.672 GB, free: 62.13 MB / 0.4948 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.006851/7.245, allocations: 1.741 MB / 3.674 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/7.245, allocations: 10.91 kB / 3.674 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/7.248, allocations: 334.3 kB / 3.674 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/7.249, allocations: 0.5724 MB / 3.675 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/7.249, allocations: 23.34 kB / 3.675 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/7.249, allocations: 29.91 kB / 3.675 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000998/7.25, allocations: 0.5428 MB / 3.675 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/7.251, allocations: 0.661 MB / 3.676 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/7.251, allocations: 3.188 kB / 3.676 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/7.251, allocations: 7.891 kB / 3.676 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/7.251, allocations: 21 kB / 3.676 GB, free: 60.83 MB / 0.4948 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.03196/7.283, allocations: 19.56 MB / 3.695 GB, free: 48.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/7.284, allocations: 418.3 kB / 3.695 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/7.284, allocations: 213.9 kB / 3.696 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07789/7.362, allocations: 48.15 MB / 3.743 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/7.362, allocations: 42.05 kB / 3.743 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 1.974e-06/7.362, allocations: 0 / 3.743 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.006673/7.369, allocations: 1.822 MB / 3.744 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/7.369, allocations: 114.5 kB / 3.744 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/7.37, allocations: 389 kB / 3.745 GB, free: 17.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/7.37, allocations: 25.7 kB / 3.745 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/7.37, allocations: 338.9 kB / 3.745 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/7.37, allocations: 165.3 kB / 3.745 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/7.371, allocations: 0 / 3.745 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/7.371, allocations: 362.3 kB / 3.746 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/7.371, allocations: 186.7 kB / 3.746 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/7.371, allocations: 354.3 kB / 3.746 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/7.373, allocations: 320.5 kB / 3.747 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/7.373, allocations: 3.5 kB / 3.747 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002516/7.375, allocations: 0.8723 MB / 3.747 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00167/7.377, allocations: 1.831 MB / 3.749 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/7.377, allocations: 7.281 kB / 3.749 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/7.378, allocations: 306.1 kB / 3.749 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/7.379, allocations: 133.3 kB / 3.75 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/7.38, allocations: 0.9678 MB / 3.751 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/7.381, allocations: 87.27 kB / 3.751 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/7.381, allocations: 32.77 kB / 3.751 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/7.381, allocations: 6.688 kB / 3.751 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/7.383, allocations: 0.7182 MB / 3.751 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/7.383, allocations: 9 kB / 3.751 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/7.384, allocations: 281.2 kB / 3.752 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/7.384, allocations: 139.5 kB / 3.752 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/7.385, allocations: 0.8476 MB / 3.753 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/7.386, allocations: 75 kB / 3.753 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/7.386, allocations: 31.42 kB / 3.753 GB, free: 29.54 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.0002187/7.387, allocations: 122.8 kB / 3.753 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/7.387, allocations: 61.34 kB / 3.753 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/7.389, allocations: 2.26 MB / 3.755 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/7.389, allocations: 29.08 kB / 3.755 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/7.389, allocations: 1.906 kB / 3.755 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/7.389, allocations: 10.42 kB / 3.755 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/7.393, allocations: 3.131 MB / 3.758 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/7.393, allocations: 4 kB / 3.758 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/7.394, allocations: 144.3 kB / 3.758 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/7.394, allocations: 99.31 kB / 3.758 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/7.394, allocations: 6.875 kB / 3.758 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/7.395, allocations: 1.159 MB / 3.76 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/7.395, allocations: 0 / 3.76 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/7.397, allocations: 1.864 MB / 3.761 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/7.398, allocations: 345.1 kB / 3.762 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/7.398, allocations: 3.328 kB / 3.762 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/7.399, allocations: 61.73 kB / 3.762 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/7.399, allocations: 63.16 kB / 3.762 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/7.399, allocations: 22.95 kB / 3.762 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006025/7.399, allocations: 492.4 kB / 3.762 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/7.399, allocations: 0 / 3.762 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006187/7.406, allocations: 1.367 MB / 3.764 GB, free: 23.83 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: 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.009946/7.416, allocations: 1.816 MB / 3.765 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002417/7.418, allocations: 1.082 MB / 3.766 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/7.418, allocations: 0.5 kB / 3.766 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009611/7.419, allocations: 0.5935 MB / 3.767 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/7.421, allocations: 259.1 kB / 3.767 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/7.424, allocations: 1.624 MB / 3.769 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/7.425, allocations: 1.117 MB / 3.77 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001259/7.426, allocations: 0.7009 MB / 3.771 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/7.426, allocations: 55.19 kB / 3.771 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/7.426, allocations: 0 / 3.771 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.05725/7.483, allocations: 38.66 MB / 3.808 GB, free: 2.457 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches