Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 75.59 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4494/0.5663, allocations: 184.1 MB / 0.6486 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.5743, allocations: 4.616 MB / 0.6531 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.5758, allocations: 15.88 kB / 0.6532 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.5777, allocations: 349.7 kB / 0.6535 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008332/0.586, allocations: 1.784 MB / 0.6552 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.5901, allocations: 0.9419 MB / 0.6562 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.5935, allocations: 1.699 MB / 0.6578 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.5947, allocations: 446.2 kB / 0.6582 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.5977, allocations: 0.8487 MB / 0.6591 GB, free: 312 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.5993, allocations: 0.4942 MB / 0.6596 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.5996, allocations: 52 kB / 0.6596 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.6046, allocations: 1.255 MB / 0.6608 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.6051, allocations: 175.4 kB / 0.661 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.6061, allocations: 382.3 kB / 0.6614 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.6109, allocations: 1.632 MB / 0.663 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.611, allocations: 0 / 0.663 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.611, allocations: 0 / 0.663 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.859e-05/0.6111, allocations: 0 / 0.663 GB, free: 12.32 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003677/0.6148, allocations: 1.103 MB / 0.664 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6148, allocations: 12.02 kB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.6151, allocations: 94.53 kB / 0.6641 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.6177, allocations: 163.1 kB / 0.6643 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.6191, allocations: 496.3 kB / 0.6648 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.6192, allocations: 37 kB / 0.6648 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6193, allocations: 40 kB / 0.6648 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.6215, allocations: 0.6477 MB / 0.6655 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6216, allocations: 0 / 0.6655 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.6217, allocations: 24 kB / 0.6655 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.6218, allocations: 16 kB / 0.6655 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.6235, allocations: 0.4918 MB / 0.666 GB, free: 9.062 MB / 0.4981 GB 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.004588/0.6281, allocations: 2.656 MB / 0.6686 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.6289, allocations: 324.9 kB / 0.6689 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.6292, allocations: 160.8 kB / 0.669 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.6297, allocations: 441.5 kB / 0.6695 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6298, allocations: 38.56 kB / 0.6695 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.6298, allocations: 0 / 0.6695 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001742/0.6315, allocations: 0.7131 MB / 0.6702 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6317, allocations: 162.1 kB / 0.6704 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.6324, allocations: 0.5146 MB / 0.6709 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.6325, allocations: 33.7 kB / 0.6709 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.6328, allocations: 307.5 kB / 0.6712 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6329, allocations: 118.2 kB / 0.6713 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.6331, allocations: 126.1 kB / 0.6714 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6333, allocations: 362.8 kB / 0.6718 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6336, allocations: 149 kB / 0.6719 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.6341, allocations: 326.9 kB / 0.6722 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.6348, allocations: 470.7 kB / 0.6727 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6348, allocations: 4 kB / 0.6727 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001074/0.6359, allocations: 0.5674 MB / 0.6732 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6359, allocations: 15.92 kB / 0.6732 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.636, allocations: 4.625 kB / 0.6732 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.6376, allocations: 240.5 kB / 0.6735 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.638, allocations: 119.8 kB / 0.6736 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/0.6385, allocations: 0.5912 MB / 0.6742 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.639, allocations: 51.44 kB / 0.6742 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6391, allocations: 55.98 kB / 0.6743 GB, free: 4 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.6394, allocations: 193.7 kB / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6396, allocations: 59.34 kB / 0.6745 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.6418, allocations: 1.093 MB / 0.6756 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6418, allocations: 4 kB / 0.6756 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6418, allocations: 4 kB / 0.6756 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6419, allocations: 7.984 kB / 0.6756 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.6436, allocations: 1.011 MB / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6436, allocations: 4.188 kB / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.6439, allocations: 55.91 kB / 0.6766 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003247/0.6471, allocations: 444.1 kB / 0.6771 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.6472, allocations: 12 kB / 0.6771 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000464/0.6477, allocations: 0.593 MB / 0.6776 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6477, allocations: 4.062 kB / 0.6777 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.6485, allocations: 0.5005 MB / 0.6781 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.6487, allocations: 144.3 kB / 0.6783 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.6489, allocations: 15.94 kB / 0.6783 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.6493, allocations: 15.98 kB / 0.6783 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.6494, allocations: 27.91 kB / 0.6783 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.6494, allocations: 23.92 kB / 0.6784 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005913/0.65, allocations: 447 kB / 0.6788 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.65, allocations: 4 kB / 0.6788 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009522/0.651, allocations: 295.8 kB / 0.6791 GB, free: 10.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/0.653, allocations: 1.322 MB / 0.6804 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.6539, allocations: 381.3 kB / 0.6807 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.6539, allocations: 4 kB / 0.6807 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.6543, allocations: 164 kB / 0.6809 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.6564, allocations: 409.6 kB / 0.6813 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.6636, allocations: 5.197 MB / 0.6864 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.6641, allocations: 0.8754 MB / 0.6872 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001483/0.6656, allocations: 0.5748 MB / 0.6878 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.6661, allocations: 235.3 kB / 0.688 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.6661, allocations: 0 / 0.688 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2561/0.9222, allocations: 22.88 MB / 0.7103 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.93, allocations: 5.781 kB / 0.7103 GB, free: 199.2 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches