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.001093/0.001093, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.266/1.266, allocations: 221.4 MB / 236 MB, free: 2.98 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.000823/0.0008227, allocations: 91.67 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1833/0.1833, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.847e-05, allocations: 8.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.77/5.883, allocations: 2.787 GB / 3.289 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.883, allocations: 87.62 kB / 3.289 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.51/7.393, allocations: 443.7 MB / 3.722 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/7.393, allocations: 0 / 3.722 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.941e-05/7.393, allocations: 24.64 kB / 3.722 GB, free: 56.23 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.007253/7.401, allocations: 1.746 MB / 3.724 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/7.401, allocations: 7.656 kB / 3.724 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/7.403, allocations: 328.9 kB / 3.724 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/7.404, allocations: 0.5692 MB / 3.725 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/7.404, allocations: 46.78 kB / 3.725 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/7.405, allocations: 60.19 kB / 3.725 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/7.406, allocations: 0.9528 MB / 3.726 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/7.407, allocations: 6.938 kB / 3.726 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/7.407, allocations: 30.81 kB / 3.726 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/7.407, allocations: 25.91 kB / 3.726 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/7.408, allocations: 0.8033 MB / 3.727 GB, free: 53.98 MB / 0.5261 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.004495/7.413, allocations: 4.455 MB / 3.731 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/7.415, allocations: 0.7078 MB / 3.732 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/7.415, allocations: 233.4 kB / 3.732 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09449/7.509, allocations: 55.76 MB / 3.786 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/7.509, allocations: 35 kB / 3.786 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.285e-06/7.509, allocations: 4 kB / 3.786 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.005495/7.515, allocations: 1.859 MB / 3.788 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/7.515, allocations: 107.2 kB / 3.788 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/7.516, allocations: 460.8 kB / 3.789 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/7.516, allocations: 37.7 kB / 3.789 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/7.516, allocations: 332.2 kB / 3.789 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/7.516, allocations: 179.3 kB / 3.789 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/7.516, allocations: 12 kB / 3.789 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001739/7.516, allocations: 370.7 kB / 3.79 GB, free: 364 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/7.517, allocations: 193.5 kB / 3.79 GB, free: 168 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3433/7.86, allocations: 352 kB / 3.79 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/7.861, allocations: 234.4 kB / 3.79 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/7.861, allocations: 1.875 kB / 3.79 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001922/7.863, allocations: 0.8185 MB / 3.791 GB, free: 85.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000371/7.863, allocations: 1.827 MB / 3.793 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/7.863, allocations: 5.812 kB / 3.793 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/7.865, allocations: 401.9 kB / 3.793 GB, free: 83.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/7.866, allocations: 135.2 kB / 3.794 GB, free: 83.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009603/7.867, allocations: 0.8716 MB / 3.794 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/7.868, allocations: 92.19 kB / 3.794 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/7.868, allocations: 33.7 kB / 3.795 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/7.868, allocations: 3.906 kB / 3.795 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/7.869, allocations: 0.7038 MB / 3.795 GB, free: 82.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/7.869, allocations: 5.312 kB / 3.795 GB, free: 82.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/7.87, allocations: 283.3 kB / 3.795 GB, free: 82.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/7.871, allocations: 134.4 kB / 3.796 GB, free: 82.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007722/7.872, allocations: 0.8336 MB / 3.796 GB, free: 82.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/7.872, allocations: 85.06 kB / 3.797 GB, free: 82.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/7.872, allocations: 32.89 kB / 3.797 GB, free: 82.17 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.0002937/7.873, allocations: 145.3 kB / 3.797 GB, free: 82.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/7.873, allocations: 64.62 kB / 3.797 GB, free: 82.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/7.878, allocations: 2.669 MB / 3.799 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.503e-05/7.878, allocations: 36.83 kB / 3.799 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/7.878, allocations: 1.031 kB / 3.799 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/7.878, allocations: 7.094 kB / 3.799 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/7.885, allocations: 3.719 MB / 3.803 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/7.885, allocations: 1.219 kB / 3.803 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/7.886, allocations: 153.6 kB / 3.803 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/7.886, allocations: 100.2 kB / 3.803 GB, free: 81.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/7.886, allocations: 15.83 kB / 3.803 GB, free: 81.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005682/7.887, allocations: 1.135 MB / 3.804 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/7.887, allocations: 3.594 kB / 3.804 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/7.89, allocations: 2.101 MB / 3.806 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/7.89, allocations: 367.2 kB / 3.807 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/7.891, allocations: 15.81 kB / 3.807 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/7.891, allocations: 66.19 kB / 3.807 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/7.891, allocations: 50.45 kB / 3.807 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/7.891, allocations: 27.47 kB / 3.807 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008406/7.892, allocations: 0.5549 MB / 3.807 GB, free: 79.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/7.892, allocations: 0 / 3.807 GB, free: 79.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006964/7.899, allocations: 1.423 MB / 3.809 GB, free: 79.8 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 () * 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.009105/7.908, allocations: 1.726 MB / 3.811 GB, free: 79.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002742/7.911, allocations: 1.226 MB / 3.812 GB, free: 79.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/7.911, allocations: 3.75 kB / 3.812 GB, free: 79.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/7.912, allocations: 0.6802 MB / 3.812 GB, free: 79.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/7.914, allocations: 347.6 kB / 3.813 GB, free: 79.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/7.917, allocations: 1.83 MB / 3.815 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/7.918, allocations: 1.149 MB / 3.816 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001595/7.92, allocations: 0.6897 MB / 3.816 GB, free: 78.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/7.92, allocations: 60.45 kB / 3.816 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/7.92, allocations: 4.188 kB / 3.816 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.05852/7.978, allocations: 46.73 MB / 3.862 GB, free: 77.26 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