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.001279/0.001279, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008148, allocations: 98.36 kB / 293.3 MB, free: 10.78 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.3355/0.3355, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003831, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3655, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/6.474, allocations: 2.788 GB / 3.298 GB, free: 65.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/6.475, allocations: 93.72 kB / 3.298 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.468/7.943, allocations: 425 MB / 3.713 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/7.943, allocations: 0 / 3.713 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.953e-05/7.943, allocations: 15.47 kB / 3.713 GB, free: 45.44 MB / 0.5261 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.006649/7.95, allocations: 1.818 MB / 3.715 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/7.95, allocations: 15.72 kB / 3.715 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/7.952, allocations: 327 kB / 3.716 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/7.953, allocations: 0.585 MB / 3.716 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/7.953, allocations: 57.91 kB / 3.716 GB, free: 43.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-05/7.953, allocations: 53.08 kB / 3.716 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/7.955, allocations: 0.9998 MB / 3.717 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/7.955, allocations: 3.938 kB / 3.717 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/7.955, allocations: 27.34 kB / 3.717 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/7.955, allocations: 23.44 kB / 3.717 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/7.957, allocations: 0.8985 MB / 3.718 GB, free: 43.15 MB / 0.5261 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.003919/7.961, allocations: 4.452 MB / 3.723 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/7.963, allocations: 0.7885 MB / 3.723 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/7.963, allocations: 306.3 kB / 3.724 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4526/8.416, allocations: 55.55 MB / 3.778 GB, free: 77.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/8.416, allocations: 38.44 kB / 3.778 GB, free: 77.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/8.416, allocations: 0 / 3.778 GB, free: 77.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006133/8.422, allocations: 2.352 MB / 3.78 GB, free: 76.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/8.422, allocations: 110.4 kB / 3.78 GB, free: 76.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/8.423, allocations: 0.5221 MB / 3.781 GB, free: 76.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/8.423, allocations: 35.7 kB / 3.781 GB, free: 76.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/8.423, allocations: 332.9 kB / 3.781 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/8.423, allocations: 178.6 kB / 3.781 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/8.423, allocations: 12.69 kB / 3.781 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001072/8.423, allocations: 374.3 kB / 3.782 GB, free: 75.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/8.424, allocations: 259.4 kB / 3.782 GB, free: 75.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/8.425, allocations: 436.2 kB / 3.782 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/8.426, allocations: 0.6779 MB / 3.783 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/8.426, allocations: 0 / 3.783 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002197/8.428, allocations: 0.9899 MB / 3.784 GB, free: 75.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/8.428, allocations: 233.2 kB / 3.784 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/8.428, allocations: 6 kB / 3.784 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/8.43, allocations: 497.7 kB / 3.785 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/8.431, allocations: 133 kB / 3.785 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/8.432, allocations: 0.9207 MB / 3.786 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/8.433, allocations: 85.28 kB / 3.786 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/8.433, allocations: 38.88 kB / 3.786 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/8.433, allocations: 4.062 kB / 3.786 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/8.435, allocations: 0.854 MB / 3.787 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/8.435, allocations: 5.625 kB / 3.787 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/8.436, allocations: 326.7 kB / 3.787 GB, free: 74.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/8.436, allocations: 134.8 kB / 3.787 GB, free: 74.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/8.437, allocations: 0.8862 MB / 3.788 GB, free: 74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/8.438, allocations: 86.03 kB / 3.788 GB, free: 73.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/8.438, allocations: 30.48 kB / 3.788 GB, free: 73.99 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 () * 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.0004325/8.438, allocations: 288.3 kB / 3.788 GB, free: 73.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/8.438, allocations: 64.19 kB / 3.788 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/8.442, allocations: 2.756 MB / 3.791 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/8.442, allocations: 35.95 kB / 3.791 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/8.442, allocations: 0 / 3.791 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/8.442, allocations: 2.297 kB / 3.791 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/8.447, allocations: 3.828 MB / 3.795 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/8.447, allocations: 0 / 3.795 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/8.447, allocations: 153.7 kB / 3.795 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/8.448, allocations: 105.1 kB / 3.795 GB, free: 73.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/8.448, allocations: 23.3 kB / 3.795 GB, free: 73.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007319/8.449, allocations: 1.131 MB / 3.796 GB, free: 72.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/8.449, allocations: 2.625 kB / 3.796 GB, free: 72.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/8.452, allocations: 2.305 MB / 3.798 GB, free: 71.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/8.453, allocations: 364.2 kB / 3.799 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/8.453, allocations: 13.53 kB / 3.799 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/8.453, allocations: 73.19 kB / 3.799 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/8.453, allocations: 54.47 kB / 3.799 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/8.453, allocations: 20.95 kB / 3.799 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006779/8.454, allocations: 0.5699 MB / 3.8 GB, free: 71.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/8.454, allocations: 5.562 kB / 3.8 GB, free: 71.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006361/8.46, allocations: 1.416 MB / 3.801 GB, free: 71.49 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: 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.007533/8.468, allocations: 1.736 MB / 3.803 GB, free: 71.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003028/8.471, allocations: 1.411 MB / 3.804 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/8.471, allocations: 0 / 3.804 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/8.472, allocations: 0.7419 MB / 3.805 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/8.474, allocations: 345.4 kB / 3.805 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/8.478, allocations: 2.98 MB / 3.808 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/8.479, allocations: 1.129 MB / 3.809 GB, free: 69.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001295/8.48, allocations: 0.6531 MB / 3.81 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/8.481, allocations: 66.11 kB / 3.81 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.462e-06/8.481, allocations: 1.406 kB / 3.81 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.07206/8.553, allocations: 46.58 MB / 3.855 GB, free: 67.74 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/jenkins1/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