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.001014/0.001018, allocations: 105.4 kB / 18.45 MB, free: 4.602 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.0009491/0.0009491, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.377/1.377, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2135/0.2135, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04607/0.3834, allocations: 41.65 MB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.4092, allocations: 19.88 MB / 0.5797 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.4103, allocations: 23.81 kB / 0.5797 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.4116, allocations: 437.2 kB / 0.5801 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.4269, allocations: 5.178 MB / 0.5852 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006493/0.4334, allocations: 2.443 MB / 0.5875 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.4357, allocations: 1.676 MB / 0.5892 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.4364, allocations: 457.7 kB / 0.5896 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.4377, allocations: 0.751 MB / 0.5903 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00774/0.4454, allocations: 3.654 MB / 0.5939 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4456, allocations: 68 kB / 0.594 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/0.4615, allocations: 7.89 MB / 0.6017 GB, free: 7.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.4619, allocations: 195.4 kB / 0.6019 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.4626, allocations: 430 kB / 0.6023 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.4783, allocations: 5.333 MB / 0.6075 GB, free: 1.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4784, allocations: 0 / 0.6075 GB, free: 1.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4784, allocations: 0 / 0.6075 GB, free: 1.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.841e-05/0.4784, allocations: 0 / 0.6075 GB, free: 1.906 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.005193/0.4836, allocations: 1.687 MB / 0.6091 GB, free: 172 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4837, allocations: 8.031 kB / 0.6091 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.4862, allocations: 303.7 kB / 0.6094 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4874, allocations: 0.5483 MB / 0.61 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.4875, allocations: 61.23 kB / 0.61 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4876, allocations: 56 kB / 0.6101 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.4902, allocations: 0.975 MB / 0.611 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4903, allocations: 3.938 kB / 0.611 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.4904, allocations: 24 kB / 0.6111 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.4904, allocations: 28.98 kB / 0.6111 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.4929, allocations: 0.8624 MB / 0.6119 GB, free: 13.21 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.005318/0.4983, allocations: 4.553 MB / 0.6164 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.5008, allocations: 0.7654 MB / 0.6171 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.5015, allocations: 310 kB / 0.6174 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.118/0.6195, allocations: 56.05 MB / 0.6722 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.6196, allocations: 43 kB / 0.6722 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/0.6196, allocations: 0 / 0.6722 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.007475/0.6271, allocations: 2.209 MB / 0.6744 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.6272, allocations: 111.2 kB / 0.6745 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.6279, allocations: 0.5106 MB / 0.675 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.628, allocations: 33.7 kB / 0.675 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.6283, allocations: 328.2 kB / 0.6753 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.6285, allocations: 181.4 kB / 0.6755 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.6287, allocations: 138.2 kB / 0.6756 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.629, allocations: 366.8 kB / 0.676 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/0.6298, allocations: 279.3 kB / 0.6762 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.6307, allocations: 441.8 kB / 0.6767 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.6324, allocations: 0.6831 MB / 0.6773 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6324, allocations: 4 kB / 0.6773 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002674/0.6351, allocations: 0.9598 MB / 0.6783 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.6351, allocations: 10.48 kB / 0.6783 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6351, allocations: 8 kB / 0.6783 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.6374, allocations: 442.6 kB / 0.6787 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.6379, allocations: 123.9 kB / 0.6788 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.6395, allocations: 0.9138 MB / 0.6797 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.6402, allocations: 47.95 kB / 0.6798 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.6403, allocations: 39.92 kB / 0.6798 GB, free: 364 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009945/0.6413, allocations: 413.3 kB / 0.6802 GB, free: 15.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008669/0.6422, allocations: 430.6 kB / 0.6806 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001513/0.6437, allocations: 0.676 MB / 0.6813 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.6437, allocations: 0 / 0.6813 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002448/0.6462, allocations: 0.9126 MB / 0.6821 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6462, allocations: 11.94 kB / 0.6822 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6462, allocations: 4 kB / 0.6822 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.6478, allocations: 336.9 kB / 0.6825 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.6484, allocations: 135.8 kB / 0.6826 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.6497, allocations: 0.8685 MB / 0.6835 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.6504, allocations: 48.02 kB / 0.6835 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.6504, allocations: 39.97 kB / 0.6835 GB, free: 12.33 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.000288/0.6507, allocations: 226.2 kB / 0.6838 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.6509, allocations: 63.25 kB / 0.6838 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.6551, allocations: 2.87 MB / 0.6866 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6552, allocations: 3.984 kB / 0.6866 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6552, allocations: 4.094 kB / 0.6866 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.6556, allocations: 283 kB / 0.6869 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6558, allocations: 31.75 kB / 0.6869 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.6563, allocations: 51.94 kB / 0.687 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.6565, allocations: 60.47 kB / 0.687 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002995/0.6595, allocations: 1.723 MB / 0.6887 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00365/0.6631, allocations: 2.517 MB / 0.6912 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.6642, allocations: 0.779 MB / 0.6919 GB, free: 3.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006227/0.6648, allocations: 463 kB / 0.6924 GB, free: 3.203 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/0.6649, allocations: 0 / 0.6924 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01038/0.6752, allocations: 2.6 MB / 0.6949 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of SimCode: time 0.004087/0.6793, allocations: 2.465 MB / 0.6973 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.3261/1.005, allocations: 56.52 MB / 0.7525 GB, free: 186.8 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