Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009243/0.0009245, allocations: 180.8 kB / 17.41 MB, free: 4.406 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.328/1.328, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007612/0.0007612, allocations: 95.33 kB / 271.9 MB, free: 8.242 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.3595/0.3595, allocations: 43.57 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003906, allocations: 12 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/6.326, allocations: 2.782 GB / 3.262 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/6.327, allocations: 89 kB / 3.262 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.421/7.748, allocations: 420.8 MB / 3.673 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/7.748, allocations: 0 / 3.673 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.208e-05/7.748, allocations: 21.89 kB / 3.673 GB, free: 32.2 MB / 0.4948 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.00716/7.755, allocations: 1.82 MB / 3.675 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/7.755, allocations: 14.47 kB / 3.675 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/7.757, allocations: 324.5 kB / 3.675 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/7.758, allocations: 0.5952 MB / 3.676 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/7.758, allocations: 50.84 kB / 3.676 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/7.758, allocations: 53.69 kB / 3.676 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/7.761, allocations: 1.014 MB / 3.677 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/7.761, allocations: 3.938 kB / 3.677 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/7.761, allocations: 24.81 kB / 3.677 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/7.761, allocations: 19.56 kB / 3.677 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/7.763, allocations: 0.9064 MB / 3.678 GB, free: 29.91 MB / 0.4948 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.004372/7.767, allocations: 4.472 MB / 3.682 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/7.77, allocations: 0.7832 MB / 3.683 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/7.77, allocations: 289.6 kB / 3.683 GB, free: 25.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09765/7.868, allocations: 55.54 MB / 3.737 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/7.868, allocations: 39 kB / 3.737 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/7.868, allocations: 0 / 3.737 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.008592/7.877, allocations: 2.367 MB / 3.74 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/7.877, allocations: 107.2 kB / 3.74 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/7.878, allocations: 0.5301 MB / 3.74 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/7.878, allocations: 37.7 kB / 3.74 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/7.878, allocations: 320.3 kB / 3.741 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/7.878, allocations: 177.3 kB / 3.741 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/7.878, allocations: 16 kB / 3.741 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001704/7.878, allocations: 370.8 kB / 3.741 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/7.879, allocations: 261.2 kB / 3.742 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/7.88, allocations: 435.2 kB / 3.742 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/7.881, allocations: 0.6842 MB / 3.743 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/7.881, allocations: 0 / 3.743 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002777/7.884, allocations: 1.002 MB / 3.744 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/7.884, allocations: 236.8 kB / 3.744 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/7.884, allocations: 7.938 kB / 3.744 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/7.887, allocations: 489.6 kB / 3.744 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/7.888, allocations: 127.8 kB / 3.744 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/7.889, allocations: 0.9241 MB / 3.745 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/7.89, allocations: 95.91 kB / 3.745 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/7.89, allocations: 31.98 kB / 3.745 GB, free: 420 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/7.89, allocations: 4 kB / 3.745 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3533/8.243, allocations: 0.8538 MB / 3.746 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/8.243, allocations: 9.562 kB / 3.746 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/8.245, allocations: 334.8 kB / 3.747 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/8.246, allocations: 144.1 kB / 3.747 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/8.247, allocations: 0.8755 MB / 3.748 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/8.248, allocations: 83.05 kB / 3.748 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/8.248, allocations: 35.05 kB / 3.748 GB, free: 75.81 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.0005587/8.249, allocations: 290.4 kB / 3.748 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/8.249, allocations: 64.11 kB / 3.748 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/8.254, allocations: 2.762 MB / 3.751 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/8.254, allocations: 38.94 kB / 3.751 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/8.254, allocations: 1.281 kB / 3.751 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/8.254, allocations: 3.422 kB / 3.751 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/8.259, allocations: 3.829 MB / 3.755 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/8.259, allocations: 4.453 kB / 3.755 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/8.26, allocations: 154.9 kB / 3.755 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/8.26, allocations: 100.8 kB / 3.755 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/8.26, allocations: 13.66 kB / 3.755 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/8.261, allocations: 1.14 MB / 3.756 GB, free: 74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/8.261, allocations: 0 / 3.756 GB, free: 74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/8.264, allocations: 2.298 MB / 3.758 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/8.265, allocations: 364.3 kB / 3.758 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/8.265, allocations: 10.84 kB / 3.758 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/8.265, allocations: 75.02 kB / 3.759 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/8.266, allocations: 54.62 kB / 3.759 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/8.266, allocations: 22.56 kB / 3.759 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008263/8.266, allocations: 0.5675 MB / 3.759 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/8.266, allocations: 0 / 3.759 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006972/8.273, allocations: 1.42 MB / 3.761 GB, free: 73.46 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.01021/8.284, allocations: 1.731 MB / 3.762 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00413/8.288, allocations: 1.395 MB / 3.764 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/8.288, allocations: 4.875 kB / 3.764 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/8.289, allocations: 0.7404 MB / 3.764 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/8.292, allocations: 348.2 kB / 3.765 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/8.297, allocations: 3.016 MB / 3.768 GB, free: 72.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/8.298, allocations: 1.121 MB / 3.769 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/8.298, allocations: 72.03 kB / 3.769 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/8.298, allocations: 0 / 3.769 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.07293/8.371, allocations: 38.48 MB / 3.806 GB, free: 69.69 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches