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.001601/0.001601, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3393, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2056/0.5449, allocations: 184.1 MB / 0.7103 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006895/0.5518, allocations: 4.6 MB / 0.7148 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007095/0.5526, allocations: 15.94 kB / 0.7148 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.5537, allocations: 349.7 kB / 0.7151 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.5586, allocations: 1.799 MB / 0.7169 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.5613, allocations: 0.9554 MB / 0.7178 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.366/0.9273, allocations: 1.702 MB / 0.7195 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9284, allocations: 443 kB / 0.7199 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.9309, allocations: 0.856 MB / 0.7207 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009835/0.9319, allocations: 0.5043 MB / 0.7212 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.9321, allocations: 53.78 kB / 0.7213 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.9351, allocations: 1.3 MB / 0.7225 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.9353, allocations: 170.7 kB / 0.7227 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.9359, allocations: 376.7 kB / 0.7231 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.9395, allocations: 1.644 MB / 0.7247 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.9395, allocations: 1.031 kB / 0.7247 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9395, allocations: 0.875 kB / 0.7247 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.9396, allocations: 0 / 0.7247 GB, free: 3.867 MB / 0.5606 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.003852/0.9434, allocations: 1.132 MB / 0.7258 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.9435, allocations: 9.344 kB / 0.7258 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.9437, allocations: 90.8 kB / 0.7259 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.9451, allocations: 163.2 kB / 0.726 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.9461, allocations: 0.5087 MB / 0.7265 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.9462, allocations: 35.03 kB / 0.7266 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.9463, allocations: 47.09 kB / 0.7266 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.9477, allocations: 0.6461 MB / 0.7272 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.9477, allocations: 4.125 kB / 0.7272 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.9478, allocations: 22.5 kB / 0.7273 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.9478, allocations: 12.41 kB / 0.7273 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000977/0.9488, allocations: 0.4898 MB / 0.7277 GB, free: 18.73 MB / 0.5762 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.003362/0.9522, allocations: 2.651 MB / 0.7303 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.9529, allocations: 324.7 kB / 0.7306 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.9532, allocations: 157.7 kB / 0.7308 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/0.9536, allocations: 440.4 kB / 0.7312 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.9537, allocations: 37.47 kB / 0.7313 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.9537, allocations: 0.9062 kB / 0.7313 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.0016/0.9553, allocations: 0.7113 MB / 0.7319 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9554, allocations: 164.9 kB / 0.7321 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.956, allocations: 0.5151 MB / 0.7326 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.956, allocations: 35.11 kB / 0.7326 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.9563, allocations: 312.4 kB / 0.7329 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.9564, allocations: 132.6 kB / 0.7331 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.9566, allocations: 116.7 kB / 0.7332 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9568, allocations: 364.2 kB / 0.7335 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.957, allocations: 147.7 kB / 0.7337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.9574, allocations: 322.4 kB / 0.734 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.958, allocations: 475.5 kB / 0.7344 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.958, allocations: 5.938 kB / 0.7344 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009612/0.959, allocations: 0.5782 MB / 0.735 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.959, allocations: 8.875 kB / 0.735 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.9591, allocations: 2.781 kB / 0.735 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.9605, allocations: 238.9 kB / 0.7352 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.9609, allocations: 116.1 kB / 0.7353 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/0.9614, allocations: 0.5894 MB / 0.7359 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.9618, allocations: 54.75 kB / 0.736 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.9619, allocations: 55.94 kB / 0.736 GB, free: 14.41 MB / 0.5762 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.0002617/0.9622, allocations: 198 kB / 0.7362 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.9623, allocations: 64.84 kB / 0.7363 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.964, allocations: 1.1 MB / 0.7374 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.964, allocations: 5.062 kB / 0.7374 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.964, allocations: 0.9688 kB / 0.7374 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.964, allocations: 2.906 kB / 0.7374 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.9654, allocations: 1.017 MB / 0.7384 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9654, allocations: 8.125 kB / 0.7384 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.9656, allocations: 58.14 kB / 0.7384 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/0.9684, allocations: 442.1 kB / 0.7388 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.9685, allocations: 11.52 kB / 0.7388 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004282/0.9689, allocations: 0.5964 MB / 0.7394 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9689, allocations: 3.281 kB / 0.7394 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.9696, allocations: 0.5014 MB / 0.7399 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.9698, allocations: 143.1 kB / 0.7401 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9699, allocations: 19.2 kB / 0.7401 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.9702, allocations: 15.33 kB / 0.7401 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.9703, allocations: 31.38 kB / 0.7401 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.9704, allocations: 20.77 kB / 0.7401 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004979/0.9709, allocations: 447.7 kB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9709, allocations: 0 / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001011/0.9719, allocations: 300.7 kB / 0.7409 GB, free: 12.67 MB / 0.5762 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.001926/0.9738, allocations: 1.328 MB / 0.7422 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.9747, allocations: 377.6 kB / 0.7425 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9747, allocations: 2.75 kB / 0.7425 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.9751, allocations: 159.5 kB / 0.7427 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.9768, allocations: 407.7 kB / 0.7431 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006913/0.9838, allocations: 5.052 MB / 0.748 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.9843, allocations: 0.8663 MB / 0.7488 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001252/0.9855, allocations: 0.5679 MB / 0.7494 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.9859, allocations: 242.4 kB / 0.7496 GB, free: 9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.9859, allocations: 0 / 0.7496 GB, free: 9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/1.039, allocations: 23.09 MB / 0.7722 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.18, allocations: 7.938 kB / 0.7722 GB, free: 3.715 MB / 0.5762 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