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.001549/0.001549, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009123, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2164/0.2164, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003604, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 58.85 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.467/7.627, allocations: 2.782 GB / 3.26 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/7.627, allocations: 92.83 kB / 3.261 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.729/9.357, allocations: 440.7 MB / 3.691 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/9.357, allocations: 0 / 3.691 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.897e-05/9.357, allocations: 17.56 kB / 3.691 GB, free: 37.04 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.009797/9.367, allocations: 1.826 MB / 3.693 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/9.367, allocations: 8.031 kB / 3.693 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/9.369, allocations: 337.8 kB / 3.693 GB, free: 34.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/9.371, allocations: 0.5696 MB / 3.694 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/9.371, allocations: 49.3 kB / 3.694 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/9.371, allocations: 60 kB / 3.694 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/9.374, allocations: 0.9928 MB / 3.695 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/9.374, allocations: 4 kB / 3.695 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/9.374, allocations: 27.95 kB / 3.695 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/9.374, allocations: 25.25 kB / 3.695 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/9.376, allocations: 0.9105 MB / 3.696 GB, free: 32.11 MB / 0.5105 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.005322/9.382, allocations: 4.466 MB / 3.7 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/9.384, allocations: 0.7892 MB / 3.701 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4844/9.868, allocations: 55.52 MB / 3.755 GB, free: 43.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/9.868, allocations: 38.89 kB / 3.755 GB, free: 43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.385e-06/9.868, allocations: 0 / 3.755 GB, free: 43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007156/9.876, allocations: 2.368 MB / 3.757 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/9.876, allocations: 109.8 kB / 3.757 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/9.876, allocations: 476.1 kB / 3.758 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/9.876, allocations: 36.52 kB / 3.758 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/9.877, allocations: 329.3 kB / 3.758 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/9.877, allocations: 179.7 kB / 3.758 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/9.877, allocations: 14.03 kB / 3.758 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001216/9.877, allocations: 372.9 kB / 3.759 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/9.878, allocations: 265.4 kB / 3.759 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/9.878, allocations: 428.2 kB / 3.759 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/9.879, allocations: 304.9 kB / 3.76 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/9.879, allocations: 2.562 kB / 3.76 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002203/9.881, allocations: 0.9795 MB / 3.761 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004322/9.882, allocations: 1.828 MB / 3.762 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/9.882, allocations: 6.719 kB / 3.762 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/9.884, allocations: 443.5 kB / 3.763 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/9.884, allocations: 138.4 kB / 3.763 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/9.885, allocations: 0.9191 MB / 3.764 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/9.886, allocations: 93.06 kB / 3.764 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/9.886, allocations: 40.88 kB / 3.764 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/9.886, allocations: 3.156 kB / 3.764 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/9.888, allocations: 0.8551 MB / 3.765 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/9.888, allocations: 7.391 kB / 3.765 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/9.89, allocations: 337.4 kB / 3.765 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/9.89, allocations: 142.7 kB / 3.765 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/9.891, allocations: 0.8801 MB / 3.766 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/9.892, allocations: 85.38 kB / 3.766 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/9.892, allocations: 35.94 kB / 3.766 GB, free: 38.48 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 () * 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.0005418/9.893, allocations: 283.6 kB / 3.767 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/9.893, allocations: 66.91 kB / 3.767 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/9.897, allocations: 2.762 MB / 3.769 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/9.897, allocations: 36.47 kB / 3.769 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/9.897, allocations: 0 / 3.769 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/9.897, allocations: 3.75 kB / 3.769 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/9.901, allocations: 3.832 MB / 3.773 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/9.901, allocations: 0 / 3.773 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/9.902, allocations: 149 kB / 3.773 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/9.902, allocations: 112.1 kB / 3.773 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/9.902, allocations: 12.84 kB / 3.773 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005795/9.903, allocations: 1.137 MB / 3.775 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/9.903, allocations: 3.5 kB / 3.775 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/9.906, allocations: 2.297 MB / 3.777 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/9.906, allocations: 364.3 kB / 3.777 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/9.906, allocations: 16.39 kB / 3.777 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/9.907, allocations: 68.38 kB / 3.777 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/9.907, allocations: 53.61 kB / 3.777 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/9.907, allocations: 24.25 kB / 3.777 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006814/9.908, allocations: 0.5658 MB / 3.778 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/9.908, allocations: 0 / 3.778 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00649/9.914, allocations: 1.419 MB / 3.779 GB, free: 35.97 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: 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.008661/9.923, allocations: 1.724 MB / 3.781 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003385/9.926, allocations: 1.407 MB / 3.782 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/9.926, allocations: 3.469 kB / 3.782 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/9.928, allocations: 0.7413 MB / 3.783 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/9.929, allocations: 339.9 kB / 3.783 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/9.933, allocations: 2.97 MB / 3.786 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/9.933, allocations: 1.154 MB / 3.787 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00101/9.934, allocations: 0.6577 MB / 3.788 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/9.934, allocations: 67.48 kB / 3.788 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/9.934, allocations: 1.031 kB / 3.788 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.06024/9.995, allocations: 44.14 MB / 3.831 GB, free: 31.19 MB / 0.5105 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