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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3874, allocations: 62.44 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04578/0.4333, allocations: 41.82 MB / 0.5725 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.4587, allocations: 19.88 MB / 0.5919 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4598, allocations: 19.88 kB / 0.5919 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.4611, allocations: 441.2 kB / 0.5924 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01498/0.4761, allocations: 5.199 MB / 0.5974 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.4835, allocations: 2.43 MB / 0.5998 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.4868, allocations: 1.681 MB / 0.6015 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.488, allocations: 453.7 kB / 0.6019 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.4903, allocations: 0.7589 MB / 0.6026 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009875/0.5002, allocations: 3.717 MB / 0.6063 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.5006, allocations: 64 kB / 0.6063 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01788/0.5185, allocations: 7.824 MB / 0.614 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004259/0.519, allocations: 191.3 kB / 0.6141 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000858/0.5199, allocations: 422.1 kB / 0.6145 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.5352, allocations: 5.313 MB / 0.6197 GB, free: 7.438 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5352, allocations: 0 / 0.6197 GB, free: 7.438 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5352, allocations: 0 / 0.6197 GB, free: 7.438 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.5353, allocations: 0 / 0.6197 GB, free: 7.438 MB / 478.1 MB 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.005054/0.5403, allocations: 1.684 MB / 0.6214 GB, free: 5.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.5404, allocations: 16.02 kB / 0.6214 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.5429, allocations: 291.8 kB / 0.6217 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.5441, allocations: 0.5598 MB / 0.6222 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.5442, allocations: 57.25 kB / 0.6223 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5443, allocations: 52 kB / 0.6223 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.547, allocations: 0.9592 MB / 0.6233 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.547, allocations: 7.984 kB / 0.6233 GB, free: 3.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.5471, allocations: 28 kB / 0.6233 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.5471, allocations: 25.3 kB / 0.6233 GB, free: 3.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.5498, allocations: 0.8713 MB / 0.6242 GB, free: 2.75 MB / 478.1 MB 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.005744/0.5555, allocations: 4.438 MB / 0.6285 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.5582, allocations: 0.7364 MB / 0.6292 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/0.5588, allocations: 282 kB / 0.6295 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1328/0.6917, allocations: 62.33 MB / 0.6904 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.6918, allocations: 38.94 kB / 0.6904 GB, free: 6.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/0.6918, allocations: 4 kB / 0.6904 GB, free: 6.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.007281/0.6991, allocations: 2.25 MB / 0.6926 GB, free: 4.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.6992, allocations: 111.2 kB / 0.6927 GB, free: 4.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.6999, allocations: 0.5224 MB / 0.6932 GB, free: 3.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.6999, allocations: 37.7 kB / 0.6932 GB, free: 3.574 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.7002, allocations: 328.2 kB / 0.6936 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.7003, allocations: 173.4 kB / 0.6937 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.7006, allocations: 138.2 kB / 0.6939 GB, free: 2.938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7007, allocations: 370.8 kB / 0.6942 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/0.7014, allocations: 267.2 kB / 0.6945 GB, free: 2.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.7022, allocations: 426.6 kB / 0.6949 GB, free: 1.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.7037, allocations: 0.6682 MB / 0.6955 GB, free: 1.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7037, allocations: 4 kB / 0.6955 GB, free: 1.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002448/0.7061, allocations: 0.9243 MB / 0.6964 GB, free: 148 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.7062, allocations: 8 kB / 0.6964 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7062, allocations: 7.984 kB / 0.6964 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/0.7086, allocations: 472 kB / 0.6969 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.709, allocations: 127.8 kB / 0.697 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.7104, allocations: 0.919 MB / 0.6979 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.711, allocations: 48 kB / 0.698 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.711, allocations: 35.92 kB / 0.698 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007962/0.7118, allocations: 397.3 kB / 0.6984 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007564/0.7126, allocations: 419.5 kB / 0.6988 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001521/0.7141, allocations: 0.6496 MB / 0.6994 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/0.7141, allocations: 4 kB / 0.6994 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002318/0.7165, allocations: 0.8893 MB / 0.7003 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7165, allocations: 8 kB / 0.7003 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7165, allocations: 8.406 kB / 0.7003 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.7177, allocations: 320 kB / 0.7006 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.7182, allocations: 127.8 kB / 0.7007 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.7193, allocations: 0.8838 MB / 0.7016 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.7199, allocations: 52 kB / 0.7016 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.7199, allocations: 35.98 kB / 0.7017 GB, free: 10.57 MB / 0.5606 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 (pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.7202, allocations: 220.1 kB / 0.7019 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.7204, allocations: 63.25 kB / 0.7019 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.7255, allocations: 2.686 MB / 0.7046 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.7255, allocations: 3.984 kB / 0.7046 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7255, allocations: 192 / 0.7046 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.7259, allocations: 251.2 kB / 0.7048 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.7262, allocations: 47.52 kB / 0.7048 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.7269, allocations: 67.86 kB / 0.7049 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.7271, allocations: 52.48 kB / 0.705 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003632/0.7307, allocations: 1.517 MB / 0.7064 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003471/0.7342, allocations: 2.196 MB / 0.7086 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001038/0.7353, allocations: 0.6618 MB / 0.7092 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001091/0.7364, allocations: 0.5771 MB / 0.7098 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of Backend: time 8.11e-07/0.7364, allocations: 0 / 0.7098 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.747, allocations: 2.548 MB / 0.7123 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of SimCode: time 0.004275/0.7513, allocations: 2.477 MB / 0.7147 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.3283/1.08, allocations: 56.56 MB / 0.7699 GB, free: 159 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches