Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.9 kB / 17.09 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 190.9 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1934/0.1934, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04434/0.1618, allocations: 41.66 MB / 0.5292 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2658/0.4276, allocations: 19.84 MB / 0.5486 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.4286, allocations: 20.78 kB / 0.5486 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.43, allocations: 446.1 kB / 0.549 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0198/0.4498, allocations: 5.152 MB / 0.5541 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007757/0.4576, allocations: 2.405 MB / 0.5564 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.4604, allocations: 1.677 MB / 0.5581 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000926/0.4613, allocations: 474.6 kB / 0.5585 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.4632, allocations: 0.7462 MB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008684/0.4719, allocations: 3.72 MB / 0.5629 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.4721, allocations: 66.09 kB / 0.5629 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.4897, allocations: 7.845 MB / 0.5706 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.49, allocations: 194.5 kB / 0.5708 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.4909, allocations: 427 kB / 0.5712 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5027, allocations: 5.307 MB / 0.5764 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5027, allocations: 0 / 0.5764 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5028, allocations: 0 / 0.5764 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.882e-05/0.5028, allocations: 0 / 0.5764 GB, free: 10.29 MB / 430.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.005401/0.5082, allocations: 1.681 MB / 0.578 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5083, allocations: 10.22 kB / 0.578 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.5107, allocations: 304.8 kB / 0.5783 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5118, allocations: 0.5562 MB / 0.5789 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.5119, allocations: 52.33 kB / 0.5789 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.512, allocations: 66.94 kB / 0.579 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5145, allocations: 0.9655 MB / 0.5799 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5145, allocations: 1.719 kB / 0.5799 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.5146, allocations: 27.47 kB / 0.5799 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.5146, allocations: 28.14 kB / 0.58 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.5171, allocations: 0.871 MB / 0.5808 GB, free: 7.398 MB / 430.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.005396/0.5225, allocations: 4.461 MB / 0.5852 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5249, allocations: 0.7304 MB / 0.5859 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.5255, allocations: 282 kB / 0.5862 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1111/0.6366, allocations: 56.04 MB / 0.6409 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.6367, allocations: 42.98 kB / 0.6409 GB, free: 2.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 3.666e-06/0.6368, allocations: 4 kB / 0.6409 GB, free: 2.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.007912/0.6447, allocations: 2.26 MB / 0.6431 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.6447, allocations: 111.2 kB / 0.6432 GB, free: 496 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.6456, allocations: 0.5263 MB / 0.6438 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.6457, allocations: 37.7 kB / 0.6438 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6459, allocations: 323.6 kB / 0.6441 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6461, allocations: 175.5 kB / 0.6443 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.6463, allocations: 142.2 kB / 0.6444 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6465, allocations: 366.8 kB / 0.6448 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.6471, allocations: 259.3 kB / 0.645 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/0.6479, allocations: 432 kB / 0.6454 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.6494, allocations: 0.6643 MB / 0.6461 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.6494, allocations: 4 kB / 0.6461 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002411/0.6518, allocations: 0.9325 MB / 0.647 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6518, allocations: 8 kB / 0.647 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6519, allocations: 4 kB / 0.647 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.6542, allocations: 476.2 kB / 0.6474 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.6547, allocations: 115.9 kB / 0.6476 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.6562, allocations: 0.923 MB / 0.6485 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.6568, allocations: 51.91 kB / 0.6485 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.657, allocations: 35.92 kB / 0.6485 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008098/0.6578, allocations: 401.2 kB / 0.6489 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008072/0.6586, allocations: 423.5 kB / 0.6493 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001329/0.6599, allocations: 0.6417 MB / 0.65 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.6599, allocations: 0 / 0.65 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002489/0.6624, allocations: 0.9359 MB / 0.6509 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6625, allocations: 11.94 kB / 0.6509 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6625, allocations: 5.125 kB / 0.6509 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.6639, allocations: 326.8 kB / 0.6512 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.6645, allocations: 139.8 kB / 0.6513 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6658, allocations: 0.8683 MB / 0.6522 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.6663, allocations: 48 kB / 0.6522 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.6664, allocations: 35.98 kB / 0.6523 GB, free: 6.883 MB / 0.4981 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.0002175/0.6666, allocations: 228 kB / 0.6525 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6668, allocations: 67.34 kB / 0.6525 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.6705, allocations: 2.689 MB / 0.6552 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.6705, allocations: 3.984 kB / 0.6552 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6705, allocations: 0 / 0.6552 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.6709, allocations: 247.3 kB / 0.6554 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.671, allocations: 47.53 kB / 0.6555 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.6716, allocations: 55.92 kB / 0.6555 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.6718, allocations: 56.48 kB / 0.6556 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002678/0.6744, allocations: 1.508 MB / 0.657 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003129/0.6776, allocations: 2.208 MB / 0.6592 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008747/0.6785, allocations: 0.6579 MB / 0.6598 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007718/0.6793, allocations: 0.5771 MB / 0.6604 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of Backend: time 4.5e-07/0.6793, allocations: 0 / 0.6604 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.6897, allocations: 2.523 MB / 0.6629 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003823/0.6936, allocations: 2.48 MB / 0.6653 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of Templates: time 0.08138/0.775, allocations: 57.15 MB / 0.7211 GB, free: 468 kB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches