Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 112.9 kB / 18.46 MB, free: 4.594 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.0011/0.0011, allocations: 183 kB / 19.39 MB, free: 3.672 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.316/1.316, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2077/0.2077, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.372, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04483/0.4169, allocations: 41.65 MB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02497/0.4419, allocations: 19.87 MB / 0.5797 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.4432, allocations: 23.81 kB / 0.5797 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.4449, allocations: 445.2 kB / 0.5801 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.4611, allocations: 5.178 MB / 0.5852 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.4677, allocations: 2.443 MB / 0.5875 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.4702, allocations: 1.684 MB / 0.5892 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.4708, allocations: 461.7 kB / 0.5896 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.4722, allocations: 0.7393 MB / 0.5904 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007779/0.48, allocations: 3.654 MB / 0.5939 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.4802, allocations: 64 kB / 0.594 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.4956, allocations: 7.898 MB / 0.6017 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4959, allocations: 191.3 kB / 0.6019 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.4965, allocations: 430 kB / 0.6023 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.51, allocations: 5.342 MB / 0.6075 GB, free: 1.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5101, allocations: 0 / 0.6075 GB, free: 1.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.44e-06/0.5101, allocations: 4 kB / 0.6075 GB, free: 1.738 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.5101, allocations: 7.938 kB / 0.6075 GB, free: 1.73 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.004625/0.5147, allocations: 1.737 MB / 0.6092 GB, free: 15.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5148, allocations: 8.031 kB / 0.6092 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.517, allocations: 304.2 kB / 0.6095 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.518, allocations: 0.5603 MB / 0.6101 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.5181, allocations: 57.12 kB / 0.6101 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5182, allocations: 59.95 kB / 0.6102 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.5206, allocations: 0.9828 MB / 0.6111 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.5206, allocations: 7.938 kB / 0.6111 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.5207, allocations: 24 kB / 0.6112 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.5207, allocations: 21 kB / 0.6112 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.523, allocations: 0.8701 MB / 0.612 GB, free: 12.96 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.005447/0.5285, allocations: 4.542 MB / 0.6165 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.5309, allocations: 0.7693 MB / 0.6172 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.5315, allocations: 302 kB / 0.6175 GB, free: 6.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1037/0.6352, allocations: 56.06 MB / 0.6723 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.6353, allocations: 42.94 kB / 0.6723 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.6353, allocations: 0 / 0.6723 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.006568/0.6419, allocations: 2.222 MB / 0.6745 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.642, allocations: 119.2 kB / 0.6746 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.6426, allocations: 0.5067 MB / 0.6751 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.6427, allocations: 37.7 kB / 0.6751 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.6429, allocations: 332.9 kB / 0.6754 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.6431, allocations: 186.4 kB / 0.6756 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.6433, allocations: 130.3 kB / 0.6757 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6434, allocations: 374.8 kB / 0.6761 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.6441, allocations: 279.3 kB / 0.6763 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.6448, allocations: 433.8 kB / 0.6768 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.6462, allocations: 0.687 MB / 0.6774 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6462, allocations: 0 / 0.6774 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002444/0.6487, allocations: 0.9714 MB / 0.6784 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6487, allocations: 8 kB / 0.6784 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6487, allocations: 7.938 kB / 0.6784 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/0.6509, allocations: 446.6 kB / 0.6788 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.6514, allocations: 127.8 kB / 0.6789 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.6529, allocations: 0.9035 MB / 0.6798 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.6535, allocations: 48 kB / 0.6799 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.6536, allocations: 39.92 kB / 0.6799 GB, free: 80 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008969/0.6545, allocations: 405.3 kB / 0.6803 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007619/0.6553, allocations: 434.7 kB / 0.6807 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001407/0.6567, allocations: 0.676 MB / 0.6814 GB, free: 14.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.6567, allocations: 0 / 0.6814 GB, free: 14.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002305/0.659, allocations: 0.9095 MB / 0.6823 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6591, allocations: 16.03 kB / 0.6823 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6591, allocations: 4 kB / 0.6823 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.6606, allocations: 344.4 kB / 0.6826 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.6611, allocations: 127.9 kB / 0.6827 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.6624, allocations: 0.8775 MB / 0.6836 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.663, allocations: 51.89 kB / 0.6836 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.663, allocations: 35.98 kB / 0.6837 GB, free: 12.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 {(3,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.6633, allocations: 220.1 kB / 0.6839 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6635, allocations: 67.58 kB / 0.6839 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.6673, allocations: 2.878 MB / 0.6868 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6673, allocations: 7.984 kB / 0.6868 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6674, allocations: 0 / 0.6868 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.6677, allocations: 279.7 kB / 0.687 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6679, allocations: 31.78 kB / 0.6871 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.6684, allocations: 63.92 kB / 0.6871 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.6685, allocations: 48.58 kB / 0.6872 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002779/0.6713, allocations: 1.732 MB / 0.6889 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003552/0.6748, allocations: 2.521 MB / 0.6913 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001109/0.676, allocations: 0.779 MB / 0.6921 GB, free: 3.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006962/0.6767, allocations: 475 kB / 0.6925 GB, free: 2.895 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.6767, allocations: 0 / 0.6925 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.6869, allocations: 2.605 MB / 0.6951 GB, free: 296 kB / 0.545 GB Notification: Performance of SimCode: time 0.003807/0.6907, allocations: 2.512 MB / 0.6975 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.3487/1.039, allocations: 56.54 MB / 0.7527 GB, free: 186.3 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches