Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008518/0.0008518, allocations: 101 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3092/0.3092, allocations: 45.24 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002521, allocations: 11.98 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.313, allocations: 63.24 MB / 0.5192 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.223/6.536, allocations: 2.788 GB / 3.307 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/6.536, allocations: 87.83 kB / 3.307 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.609/8.145, allocations: 445.1 MB / 3.742 GB, free: 64.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/8.145, allocations: 0 / 3.742 GB, free: 64.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.007e-05/8.145, allocations: 22.44 kB / 3.742 GB, free: 64.7 MB / 0.5417 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.006162/8.151, allocations: 1.84 MB / 3.744 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/8.151, allocations: 14.88 kB / 3.744 GB, free: 63.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/8.154, allocations: 330 kB / 3.744 GB, free: 63.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/8.155, allocations: 0.5654 MB / 3.745 GB, free: 63.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/8.155, allocations: 52.58 kB / 3.745 GB, free: 63.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/8.155, allocations: 56.3 kB / 3.745 GB, free: 63.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/8.157, allocations: 0.9935 MB / 3.746 GB, free: 62.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/8.157, allocations: 0 / 3.746 GB, free: 62.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/8.157, allocations: 26.95 kB / 3.746 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/8.157, allocations: 26.47 kB / 3.746 GB, free: 62.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/8.159, allocations: 0.9021 MB / 3.747 GB, free: 62.44 MB / 0.5417 GB 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.004308/8.164, allocations: 4.462 MB / 3.751 GB, free: 58.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/8.166, allocations: 0.7879 MB / 3.752 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09047/8.256, allocations: 61.81 MB / 3.812 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/8.256, allocations: 39 kB / 3.812 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/8.256, allocations: 0 / 3.812 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.006897/8.263, allocations: 2.351 MB / 3.815 GB, free: 26.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/8.263, allocations: 111.2 kB / 3.815 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/8.264, allocations: 466.1 kB / 3.815 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/8.264, allocations: 37.7 kB / 3.815 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/8.264, allocations: 327.6 kB / 3.816 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/8.265, allocations: 174.9 kB / 3.816 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/8.265, allocations: 16 kB / 3.816 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001823/8.265, allocations: 375.8 kB / 3.816 GB, free: 25.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/8.265, allocations: 262 kB / 3.816 GB, free: 25.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/8.266, allocations: 426.5 kB / 3.817 GB, free: 24.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/8.267, allocations: 306.1 kB / 3.817 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/8.267, allocations: 4 kB / 3.817 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002161/8.269, allocations: 0.9744 MB / 3.818 GB, free: 23.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007804/8.27, allocations: 1.831 MB / 3.82 GB, free: 21.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/8.27, allocations: 4 kB / 3.82 GB, free: 21.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/8.272, allocations: 441.3 kB / 3.82 GB, free: 21.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/8.272, allocations: 134.9 kB / 3.82 GB, free: 21.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/8.273, allocations: 0.9263 MB / 3.821 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/8.274, allocations: 93.58 kB / 3.821 GB, free: 20.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/8.274, allocations: 31.66 kB / 3.821 GB, free: 20.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/8.274, allocations: 4 kB / 3.821 GB, free: 20.21 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001836/8.276, allocations: 0.8551 MB / 3.822 GB, free: 19.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/8.276, allocations: 4 kB / 3.822 GB, free: 19.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/8.277, allocations: 324.1 kB / 3.823 GB, free: 19.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/8.278, allocations: 141 kB / 3.823 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/8.279, allocations: 0.8778 MB / 3.823 GB, free: 18.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/8.28, allocations: 86.98 kB / 3.824 GB, free: 18.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/8.28, allocations: 35.7 kB / 3.824 GB, free: 18.15 MB / 0.5573 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 () * Number of clocked 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.0004372/8.28, allocations: 293.8 kB / 3.824 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/8.28, allocations: 67.16 kB / 3.824 GB, free: 17.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/8.283, allocations: 2.759 MB / 3.827 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/8.283, allocations: 39.3 kB / 3.827 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/8.283, allocations: 0 / 3.827 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/8.283, allocations: 3.891 kB / 3.827 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/8.288, allocations: 3.832 MB / 3.83 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/8.288, allocations: 0 / 3.83 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/8.288, allocations: 150.8 kB / 3.831 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/8.289, allocations: 107.8 kB / 3.831 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/8.289, allocations: 12 kB / 3.831 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007305/8.29, allocations: 1.135 MB / 3.832 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/8.29, allocations: 0 / 3.832 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/8.293, allocations: 2.297 MB / 3.834 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/8.293, allocations: 375.6 kB / 3.834 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/8.293, allocations: 16.06 kB / 3.834 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/8.294, allocations: 66.16 kB / 3.834 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/8.294, allocations: 54.12 kB / 3.835 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/8.294, allocations: 19.94 kB / 3.835 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008094/8.295, allocations: 0.5687 MB / 3.835 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/8.295, allocations: 0 / 3.835 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007812/8.303, allocations: 1.423 MB / 3.836 GB, free: 6.176 MB / 0.5573 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 () * Number of clocked 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.01123/8.314, allocations: 1.75 MB / 3.838 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003632/8.318, allocations: 1.412 MB / 3.84 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/8.318, allocations: 0 / 3.84 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/8.319, allocations: 0.7396 MB / 3.84 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/8.321, allocations: 344.8 kB / 3.841 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3371/8.658, allocations: 2.97 MB / 3.844 GB, free: 83.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009707/8.659, allocations: 1.153 MB / 3.845 GB, free: 82.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001451/8.661, allocations: 0.6533 MB / 3.845 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/8.661, allocations: 69.42 kB / 3.845 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/8.661, allocations: 0 / 3.845 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.07127/8.732, allocations: 44.2 MB / 3.889 GB, free: 81.72 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches