Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001187/0.001187, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001195/0.001195, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 243.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04357/0.3893, allocations: 41.65 MB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02593/0.4153, allocations: 19.87 MB / 0.5797 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.4163, allocations: 15.88 kB / 0.5797 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.4178, allocations: 445.2 kB / 0.5801 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.4326, allocations: 5.171 MB / 0.5852 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006204/0.4388, allocations: 2.45 MB / 0.5875 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.4412, allocations: 1.677 MB / 0.5892 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009491/0.4421, allocations: 449.8 kB / 0.5896 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.444, allocations: 0.7471 MB / 0.5903 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007627/0.4516, allocations: 3.717 MB / 0.594 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.4518, allocations: 64 kB / 0.594 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/0.4661, allocations: 7.812 MB / 0.6017 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.4665, allocations: 191.3 kB / 0.6018 GB, free: 7.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007988/0.4673, allocations: 430 kB / 0.6023 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.4809, allocations: 5.315 MB / 0.6074 GB, free: 1.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.481, allocations: 0 / 0.6074 GB, free: 1.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.481, allocations: 0 / 0.6074 GB, free: 1.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.481, allocations: 0 / 0.6074 GB, free: 1.797 MB / 462.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.004478/0.4855, allocations: 1.722 MB / 0.6091 GB, free: 20 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4856, allocations: 12.03 kB / 0.6091 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.488, allocations: 301.3 kB / 0.6094 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.4891, allocations: 0.567 MB / 0.61 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.4892, allocations: 49.31 kB / 0.61 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4893, allocations: 56 kB / 0.6101 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.4919, allocations: 0.9631 MB / 0.611 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4919, allocations: 4 kB / 0.611 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.492, allocations: 23.98 kB / 0.611 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.492, allocations: 21.31 kB / 0.6111 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.4947, allocations: 0.8752 MB / 0.6119 GB, free: 13.06 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.005216/0.4999, allocations: 4.465 MB / 0.6163 GB, free: 8.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.5024, allocations: 0.7342 MB / 0.617 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.503, allocations: 286 kB / 0.6173 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1336/0.6367, allocations: 56.05 MB / 0.672 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.6368, allocations: 42.94 kB / 0.672 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.945e-06/0.6368, allocations: 0 / 0.672 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.00778/0.6446, allocations: 2.267 MB / 0.6743 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.6446, allocations: 111.2 kB / 0.6744 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.6455, allocations: 0.5303 MB / 0.6749 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.6456, allocations: 33.7 kB / 0.6749 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6459, allocations: 328.9 kB / 0.6752 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6461, allocations: 190.4 kB / 0.6754 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.6463, allocations: 134.2 kB / 0.6755 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6465, allocations: 366.8 kB / 0.6759 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.6472, allocations: 263.3 kB / 0.6761 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.648, allocations: 426.6 kB / 0.6765 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.6495, allocations: 0.6682 MB / 0.6772 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.6495, allocations: 4 kB / 0.6772 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002449/0.652, allocations: 0.9285 MB / 0.6781 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.652, allocations: 8 kB / 0.6781 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.652, allocations: 4 kB / 0.6781 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.6545, allocations: 478.3 kB / 0.6786 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.655, allocations: 127.8 kB / 0.6787 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.6564, allocations: 0.923 MB / 0.6796 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.657, allocations: 35.97 kB / 0.6796 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.6571, allocations: 39.92 kB / 0.6797 GB, free: 304 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008729/0.658, allocations: 401.3 kB / 0.6801 GB, free: 15.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007734/0.6588, allocations: 419.5 kB / 0.6805 GB, free: 15.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.6601, allocations: 0.6496 MB / 0.6811 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.6601, allocations: 4 kB / 0.6811 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002286/0.6624, allocations: 0.9012 MB / 0.682 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6625, allocations: 8 kB / 0.682 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6625, allocations: 4.469 kB / 0.682 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.6637, allocations: 314.6 kB / 0.6823 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.6642, allocations: 127.8 kB / 0.6824 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.6654, allocations: 0.8908 MB / 0.6833 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.666, allocations: 55.94 kB / 0.6833 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.6661, allocations: 31.97 kB / 0.6834 GB, free: 12.34 MB / 0.545 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.0002512/0.6663, allocations: 224 kB / 0.6836 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.6665, allocations: 71.58 kB / 0.6836 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.6703, allocations: 2.679 MB / 0.6863 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.6703, allocations: 4 kB / 0.6863 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6703, allocations: 4 kB / 0.6863 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.6707, allocations: 259.9 kB / 0.6865 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.6709, allocations: 43.62 kB / 0.6866 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.6715, allocations: 63.86 kB / 0.6866 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.6716, allocations: 52.48 kB / 0.6867 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00275/0.6744, allocations: 1.517 MB / 0.6881 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003192/0.6776, allocations: 2.205 MB / 0.6903 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009441/0.6786, allocations: 0.6579 MB / 0.6909 GB, free: 4.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008034/0.6794, allocations: 0.5771 MB / 0.6915 GB, free: 3.922 MB / 0.545 GB Notification: Performance of Backend: time 4.71e-07/0.6794, allocations: 0 / 0.6915 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.6897, allocations: 2.558 MB / 0.694 GB, free: 1.363 MB / 0.545 GB Notification: Performance of SimCode: time 0.003948/0.6937, allocations: 2.516 MB / 0.6965 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.3323/1.026, allocations: 56.5 MB / 0.7516 GB, free: 187.1 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches