Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.95 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 55.91 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3418, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04558/0.3874, allocations: 38.28 MB / 0.5992 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03515/0.4225, allocations: 17.83 MB / 0.6166 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.4238, allocations: 31.69 kB / 0.6167 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.4255, allocations: 393.4 kB / 0.617 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02108/0.4466, allocations: 5.204 MB / 0.6221 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.4569, allocations: 2.4 MB / 0.6245 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.4604, allocations: 1.7 MB / 0.6261 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.4613, allocations: 394 kB / 0.6265 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.4632, allocations: 0.7588 MB / 0.6272 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00797/0.4712, allocations: 3.748 MB / 0.6309 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.4714, allocations: 64 kB / 0.631 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.4861, allocations: 7.707 MB / 0.6385 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.4865, allocations: 199.2 kB / 0.6387 GB, free: 5.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.4871, allocations: 354.5 kB / 0.639 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.5004, allocations: 5.307 MB / 0.6442 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5004, allocations: 0 / 0.6442 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5004, allocations: 0 / 0.6442 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.5004, allocations: 3.938 kB / 0.6442 GB, free: 15.51 MB / 494.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.004849/0.5053, allocations: 1.642 MB / 0.6458 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5053, allocations: 8.031 kB / 0.6458 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.5076, allocations: 308.1 kB / 0.6461 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5087, allocations: 498.6 kB / 0.6466 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.5088, allocations: 49.25 kB / 0.6466 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5089, allocations: 63.98 kB / 0.6467 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.5117, allocations: 1.16 MB / 0.6478 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5117, allocations: 7.938 kB / 0.6478 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.5118, allocations: 23.98 kB / 0.6478 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.5118, allocations: 21.31 kB / 0.6479 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.5143, allocations: 0.8674 MB / 0.6487 GB, free: 10.71 MB / 494.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.005357/0.5197, allocations: 2.949 MB / 0.6516 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.5222, allocations: 0.7069 MB / 0.6523 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/0.5229, allocations: 266 kB / 0.6525 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1312/0.654, allocations: 30.67 MB / 0.6825 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.6541, allocations: 39 kB / 0.6825 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 4.028e-06/0.6541, allocations: 0 / 0.6825 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.008072/0.6622, allocations: 2.097 MB / 0.6846 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.6622, allocations: 119.2 kB / 0.6847 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.6629, allocations: 477.8 kB / 0.6851 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.663, allocations: 33.7 kB / 0.6852 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.6632, allocations: 336.6 kB / 0.6855 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.6634, allocations: 186.4 kB / 0.6857 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.6636, allocations: 130.3 kB / 0.6858 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6638, allocations: 362.8 kB / 0.6861 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.6645, allocations: 267.2 kB / 0.6864 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.6654, allocations: 482 kB / 0.6869 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.6668, allocations: 0.6517 MB / 0.6875 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6668, allocations: 0 / 0.6875 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002408/0.6692, allocations: 0.9193 MB / 0.6884 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6692, allocations: 8 kB / 0.6884 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6692, allocations: 4 kB / 0.6884 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/0.6717, allocations: 476.3 kB / 0.6889 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.6722, allocations: 127.8 kB / 0.689 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.6737, allocations: 0.9191 MB / 0.6899 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.6742, allocations: 43.97 kB / 0.6899 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.6743, allocations: 35.98 kB / 0.69 GB, free: 52 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008662/0.6752, allocations: 397.2 kB / 0.6903 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008219/0.676, allocations: 470.9 kB / 0.6908 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.6773, allocations: 0.6525 MB / 0.6914 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.6773, allocations: 3.938 kB / 0.6914 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002292/0.6796, allocations: 0.8846 MB / 0.6923 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6797, allocations: 4.031 kB / 0.6923 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6797, allocations: 12 kB / 0.6923 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.681, allocations: 319.5 kB / 0.6926 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.6815, allocations: 127.8 kB / 0.6927 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.6827, allocations: 0.8801 MB / 0.6936 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.6832, allocations: 51.94 kB / 0.6936 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.6832, allocations: 39.98 kB / 0.6937 GB, free: 12.05 MB / 0.5294 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.0002374/0.6835, allocations: 218.6 kB / 0.6939 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.6836, allocations: 59.62 kB / 0.6939 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.6875, allocations: 2.78 MB / 0.6967 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6875, allocations: 3.984 kB / 0.6967 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6875, allocations: 3.984 kB / 0.6967 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.6878, allocations: 174.8 kB / 0.6968 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.688, allocations: 51.59 kB / 0.6969 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.6885, allocations: 51.94 kB / 0.6969 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6886, allocations: 60.55 kB / 0.697 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00274/0.6914, allocations: 1.526 MB / 0.6985 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003321/0.6947, allocations: 2.268 MB / 0.7007 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008804/0.6956, allocations: 0.5414 MB / 0.7012 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007465/0.6963, allocations: 0.5224 MB / 0.7017 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of Backend: time 6.31e-07/0.6963, allocations: 0 / 0.7017 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008725/0.705, allocations: 2.492 MB / 0.7042 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003548/0.7086, allocations: 2.46 MB / 0.7066 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Templates: time 0.311/1.02, allocations: 56.84 MB / 0.7621 GB, free: 148.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.07182546400145]