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.001493/0.001493, allocations: 117.9 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.001153/0.001153, allocations: 210.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.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001576, allocations: 79.81 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3111, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04323/0.3543, allocations: 41.82 MB / 0.5725 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02348/0.3779, allocations: 19.88 MB / 0.5919 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.3787, allocations: 23.81 kB / 0.5919 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3799, allocations: 441.2 kB / 0.5924 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.393, allocations: 5.176 MB / 0.5974 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.3997, allocations: 2.43 MB / 0.5998 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.4019, allocations: 1.684 MB / 0.6014 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.4026, allocations: 452.7 kB / 0.6019 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.4038, allocations: 0.751 MB / 0.6026 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/0.4116, allocations: 3.713 MB / 0.6062 GB, free: 5.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.4119, allocations: 64 kB / 0.6063 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.4276, allocations: 7.82 MB / 0.6139 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.4279, allocations: 195.3 kB / 0.6141 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.4285, allocations: 422 kB / 0.6145 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4392, allocations: 5.309 MB / 0.6197 GB, free: 7.281 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4393, allocations: 4 kB / 0.6197 GB, free: 7.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4393, allocations: 0 / 0.6197 GB, free: 7.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4393, allocations: 0 / 0.6197 GB, free: 7.277 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.004188/0.4435, allocations: 1.687 MB / 0.6213 GB, free: 5.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4435, allocations: 8.031 kB / 0.6214 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.4459, allocations: 299.7 kB / 0.6216 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.4468, allocations: 0.5521 MB / 0.6222 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.4469, allocations: 61.22 kB / 0.6222 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.447, allocations: 59.94 kB / 0.6223 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.4493, allocations: 0.9553 MB / 0.6232 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4493, allocations: 3.938 kB / 0.6232 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.4494, allocations: 32 kB / 0.6233 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.4495, allocations: 25.3 kB / 0.6233 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.452, allocations: 0.8714 MB / 0.6241 GB, free: 2.586 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.005185/0.4572, allocations: 4.438 MB / 0.6285 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.4596, allocations: 0.7381 MB / 0.6292 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.4603, allocations: 286 kB / 0.6295 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1151/0.5754, allocations: 62.32 MB / 0.6903 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.5755, allocations: 39 kB / 0.6904 GB, free: 6.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.978e-06/0.5755, allocations: 4 kB / 0.6904 GB, free: 6.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.006921/0.5824, allocations: 2.258 MB / 0.6926 GB, free: 4.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.5825, allocations: 107.2 kB / 0.6927 GB, free: 3.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.5832, allocations: 0.5224 MB / 0.6932 GB, free: 3.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.5833, allocations: 37.7 kB / 0.6932 GB, free: 3.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.5835, allocations: 320.2 kB / 0.6935 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.5836, allocations: 177.4 kB / 0.6937 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.5838, allocations: 138.2 kB / 0.6938 GB, free: 2.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.584, allocations: 374.7 kB / 0.6942 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.5846, allocations: 263.3 kB / 0.6944 GB, free: 2.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.5854, allocations: 422.6 kB / 0.6948 GB, free: 1.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.5868, allocations: 0.6605 MB / 0.6955 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5868, allocations: 0 / 0.6955 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002261/0.589, allocations: 0.9403 MB / 0.6964 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5891, allocations: 11.94 kB / 0.6964 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5891, allocations: 4 kB / 0.6964 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.5914, allocations: 467.5 kB / 0.6969 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.5919, allocations: 127.8 kB / 0.697 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.5932, allocations: 0.9191 MB / 0.6979 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.5937, allocations: 48 kB / 0.6979 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.5938, allocations: 39.92 kB / 0.698 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007707/0.5946, allocations: 393.2 kB / 0.6983 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007199/0.5953, allocations: 427.5 kB / 0.6987 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001268/0.5966, allocations: 0.6418 MB / 0.6994 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.5966, allocations: 0 / 0.6994 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002165/0.5988, allocations: 0.9012 MB / 0.7003 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5988, allocations: 8 kB / 0.7003 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.5988, allocations: 7.938 kB / 0.7003 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6, allocations: 316.6 kB / 0.7006 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.6005, allocations: 127.8 kB / 0.7007 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.6016, allocations: 0.8877 MB / 0.7016 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.6022, allocations: 44 kB / 0.7016 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.6022, allocations: 35.98 kB / 0.7016 GB, free: 10.41 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.0002729/0.6025, allocations: 220.1 kB / 0.7018 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6027, allocations: 63.44 kB / 0.7019 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.6064, allocations: 2.686 MB / 0.7045 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.6064, allocations: 11.91 kB / 0.7045 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6064, allocations: 4 kB / 0.7045 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.6069, allocations: 247.3 kB / 0.7048 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.6071, allocations: 51.52 kB / 0.7048 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.6077, allocations: 51.94 kB / 0.7049 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6079, allocations: 52.48 kB / 0.7049 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002847/0.6107, allocations: 1.517 MB / 0.7064 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003095/0.6138, allocations: 2.204 MB / 0.7086 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009122/0.6147, allocations: 0.6618 MB / 0.7092 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000794/0.6156, allocations: 0.5732 MB / 0.7098 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Backend: time 9.21e-07/0.6156, allocations: 0 / 0.7098 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009867/0.6254, allocations: 2.55 MB / 0.7123 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003691/0.6292, allocations: 2.475 MB / 0.7147 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.299/0.9282, allocations: 57.2 MB / 0.7705 GB, free: 158.1 MB / 0.5762 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