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.001121/0.001121, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.543/1.543, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008095/0.0008098, allocations: 92.67 kB / 271.3 MB, free: 8.246 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.3629/0.3629, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.85 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.265/6.396, allocations: 2.782 GB / 3.262 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/6.397, allocations: 85.2 kB / 3.262 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.565/7.961, allocations: 420.8 MB / 3.673 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/7.961, allocations: 0 / 3.673 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.764e-05/7.961, allocations: 19.28 kB / 3.673 GB, free: 49.19 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.0086/7.97, allocations: 1.825 MB / 3.675 GB, free: 48.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/7.97, allocations: 10.84 kB / 3.675 GB, free: 48.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/7.973, allocations: 327.7 kB / 3.675 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/7.975, allocations: 0.5947 MB / 3.676 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/7.975, allocations: 48.38 kB / 3.676 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/7.975, allocations: 56.5 kB / 3.676 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/7.978, allocations: 1.006 MB / 3.677 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/7.978, allocations: 3.281 kB / 3.677 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/7.978, allocations: 27.16 kB / 3.677 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/7.978, allocations: 20.59 kB / 3.677 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/7.98, allocations: 0.9113 MB / 3.678 GB, free: 47.03 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.005893/7.986, allocations: 4.465 MB / 3.682 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/7.988, allocations: 0.7789 MB / 3.683 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/7.989, allocations: 295.4 kB / 3.683 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1012/8.09, allocations: 55.56 MB / 3.737 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/8.09, allocations: 42.38 kB / 3.737 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.916e-06/8.09, allocations: 0 / 3.737 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.008286/8.099, allocations: 2.361 MB / 3.74 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/8.099, allocations: 111 kB / 3.74 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/8.1, allocations: 0.5245 MB / 3.74 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/8.1, allocations: 37.02 kB / 3.74 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/8.101, allocations: 324.2 kB / 3.741 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/8.101, allocations: 181.8 kB / 3.741 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/8.101, allocations: 11.56 kB / 3.741 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002441/8.101, allocations: 371.9 kB / 3.741 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/8.102, allocations: 258.3 kB / 3.742 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/8.103, allocations: 442.6 kB / 3.742 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/8.104, allocations: 0.6776 MB / 3.743 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/8.104, allocations: 0 / 3.743 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002666/8.107, allocations: 1.002 MB / 3.744 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/8.107, allocations: 232.3 kB / 3.744 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/8.107, allocations: 11.81 kB / 3.744 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/8.11, allocations: 482.4 kB / 3.744 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/8.11, allocations: 139 kB / 3.744 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/8.112, allocations: 0.9262 MB / 3.745 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/8.113, allocations: 91.09 kB / 3.745 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/8.113, allocations: 37.48 kB / 3.745 GB, free: 18.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/8.113, allocations: 3.25 kB / 3.745 GB, free: 18.47 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/8.115, allocations: 0.8543 MB / 3.746 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/8.115, allocations: 7.469 kB / 3.746 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/8.116, allocations: 345.1 kB / 3.747 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/8.117, allocations: 139 kB / 3.747 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/8.118, allocations: 0.8761 MB / 3.748 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/8.119, allocations: 88.09 kB / 3.748 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/8.119, allocations: 29.58 kB / 3.748 GB, free: 17.41 MB / 0.5261 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.0005615/8.12, allocations: 301.6 kB / 3.748 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/8.12, allocations: 66.12 kB / 3.748 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/8.124, allocations: 2.756 MB / 3.751 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/8.124, allocations: 34.31 kB / 3.751 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/8.124, allocations: 3.906 kB / 3.751 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/8.124, allocations: 3.703 kB / 3.751 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/8.129, allocations: 3.821 MB / 3.755 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/8.129, allocations: 3.875 kB / 3.755 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/8.129, allocations: 152.2 kB / 3.755 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/8.13, allocations: 108.7 kB / 3.755 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/8.13, allocations: 14.91 kB / 3.755 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008474/8.131, allocations: 1.131 MB / 3.756 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.131, allocations: 3.938 kB / 3.756 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/8.134, allocations: 2.303 MB / 3.758 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/8.134, allocations: 361.8 kB / 3.759 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/8.135, allocations: 15.88 kB / 3.759 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/8.135, allocations: 70.31 kB / 3.759 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/8.135, allocations: 56.25 kB / 3.759 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/8.135, allocations: 23.33 kB / 3.759 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008238/8.136, allocations: 0.568 MB / 3.759 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/8.136, allocations: 0 / 3.759 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007298/8.144, allocations: 1.419 MB / 3.761 GB, free: 9.27 MB / 0.5261 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.01072/8.154, allocations: 1.722 MB / 3.762 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004394/8.159, allocations: 1.401 MB / 3.764 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/8.159, allocations: 448 / 3.764 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/8.16, allocations: 0.7545 MB / 3.764 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/8.163, allocations: 340.8 kB / 3.765 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/8.167, allocations: 2.988 MB / 3.768 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/8.168, allocations: 1.128 MB / 3.769 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001384/8.169, allocations: 0.6489 MB / 3.769 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/8.17, allocations: 66.91 kB / 3.769 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/8.17, allocations: 0 / 3.769 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of Templates: time 0.4225/8.592, allocations: 46.59 MB / 3.815 GB, free: 65.99 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/jenkins1/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