Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008741/0.0008741, allocations: 100.5 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 45.16 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.972e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/5.751, allocations: 2.788 GB / 3.292 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/5.751, allocations: 82.97 kB / 3.292 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.518/7.27, allocations: 439.5 MB / 3.721 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/7.27, allocations: 0 / 3.721 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.247e-05/7.27, allocations: 19.47 kB / 3.721 GB, free: 59.36 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.006651/7.276, allocations: 1.755 MB / 3.723 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/7.276, allocations: 15.69 kB / 3.723 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/7.279, allocations: 325.5 kB / 3.723 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/7.28, allocations: 0.5654 MB / 3.724 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/7.28, allocations: 26.59 kB / 3.724 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/7.281, allocations: 31.5 kB / 3.724 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/7.282, allocations: 0.5385 MB / 3.724 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/7.283, allocations: 0.6496 MB / 3.725 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/7.283, allocations: 7.328 kB / 3.725 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/7.283, allocations: 3.938 kB / 3.725 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/7.283, allocations: 20.88 kB / 3.725 GB, free: 57.38 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.03308/7.316, allocations: 20.97 MB / 3.746 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/7.317, allocations: 406.1 kB / 3.746 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/7.317, allocations: 209.8 kB / 3.746 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08371/7.401, allocations: 53.69 MB / 3.799 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/7.401, allocations: 41.98 kB / 3.799 GB, free: 17.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 2.415e-06/7.401, allocations: 0 / 3.799 GB, free: 17.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.00634/7.407, allocations: 1.789 MB / 3.8 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/7.407, allocations: 107.2 kB / 3.8 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/7.408, allocations: 391.5 kB / 3.801 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/7.408, allocations: 29.7 kB / 3.801 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/7.408, allocations: 332.1 kB / 3.801 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/7.408, allocations: 163.5 kB / 3.801 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/7.408, allocations: 0 / 3.801 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001472/7.408, allocations: 371.6 kB / 3.802 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/7.409, allocations: 181 kB / 3.802 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/7.409, allocations: 344.7 kB / 3.802 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/7.41, allocations: 314.2 kB / 3.802 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/7.41, allocations: 4 kB / 3.802 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002172/7.412, allocations: 0.8546 MB / 3.803 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000875/7.413, allocations: 1.842 MB / 3.805 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.479e-05/7.413, allocations: 4 kB / 3.805 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/7.414, allocations: 303.9 kB / 3.805 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/7.415, allocations: 130.8 kB / 3.806 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/7.416, allocations: 0.9519 MB / 3.806 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/7.417, allocations: 82.55 kB / 3.807 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/7.417, allocations: 27.52 kB / 3.807 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/7.417, allocations: 8 kB / 3.807 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/7.419, allocations: 0.6983 MB / 3.807 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/7.419, allocations: 4 kB / 3.807 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/7.42, allocations: 272.6 kB / 3.808 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/7.421, allocations: 138.9 kB / 3.808 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007807/7.421, allocations: 0.8564 MB / 3.808 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/7.422, allocations: 74.72 kB / 3.809 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/7.422, allocations: 28 kB / 3.809 GB, free: 7.445 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.0002008/7.422, allocations: 135.2 kB / 3.809 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/7.422, allocations: 59.34 kB / 3.809 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/7.425, allocations: 2.256 MB / 3.811 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/7.425, allocations: 23.06 kB / 3.811 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/7.425, allocations: 0 / 3.811 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/7.425, allocations: 7.656 kB / 3.811 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/7.429, allocations: 3.137 MB / 3.814 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.429, allocations: 8 kB / 3.814 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/7.429, allocations: 140.9 kB / 3.814 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/7.43, allocations: 92.05 kB / 3.814 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/7.43, allocations: 11.38 kB / 3.814 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/7.43, allocations: 1.166 MB / 3.815 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/7.43, allocations: 3.938 kB / 3.815 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/7.433, allocations: 1.865 MB / 3.817 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/7.433, allocations: 359.4 kB / 3.818 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/7.434, allocations: 7.312 kB / 3.818 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/7.434, allocations: 52.34 kB / 3.818 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/7.434, allocations: 62.78 kB / 3.818 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/7.434, allocations: 19.66 kB / 3.818 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006149/7.435, allocations: 492.4 kB / 3.818 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/7.435, allocations: 0 / 3.818 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006002/7.441, allocations: 1.374 MB / 3.82 GB, free: 13.19 MB / 0.5573 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009189/7.45, allocations: 1.819 MB / 3.821 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002162/7.452, allocations: 1.099 MB / 3.822 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/7.452, allocations: 4 kB / 3.822 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000905/7.453, allocations: 0.5888 MB / 3.823 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/7.455, allocations: 265 kB / 3.823 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/7.458, allocations: 1.621 MB / 3.825 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/7.459, allocations: 1.12 MB / 3.826 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00125/7.46, allocations: 0.698 MB / 3.827 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/7.46, allocations: 55.23 kB / 3.827 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/7.46, allocations: 0 / 3.827 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.3758/7.836, allocations: 38.7 MB / 3.864 GB, free: 90.62 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches