Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001012/0.001015, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.0009708/0.0009708, allocations: 194 kB / 18.12 MB, free: 5.383 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.446/1.446, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2381/0.2381, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.8 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.14, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.543/0.6831, allocations: 179 MB / 0.6325 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008196/0.6913, allocations: 4.705 MB / 0.6371 GB, free: 9.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.6924, allocations: 19.88 kB / 0.6371 GB, free: 9.254 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.6938, allocations: 282.4 kB / 0.6374 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.7, allocations: 1.574 MB / 0.6389 GB, free: 7.402 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7028, allocations: 0.8553 MB / 0.6397 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.7061, allocations: 2.19 MB / 0.6419 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.707, allocations: 382.7 kB / 0.6422 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.7091, allocations: 0.7668 MB / 0.643 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.7102, allocations: 0.5175 MB / 0.6435 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.7105, allocations: 28 kB / 0.6435 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.7135, allocations: 1.205 MB / 0.6447 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.7139, allocations: 147.5 kB / 0.6448 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007196/0.7146, allocations: 366.3 kB / 0.6452 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.7182, allocations: 1.597 MB / 0.6467 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7182, allocations: 0 / 0.6467 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.7182, allocations: 4 kB / 0.6467 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.7183, allocations: 0 / 0.6467 GB, free: 15.35 MB / 494.1 MB 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.002861/0.7211, allocations: 1.111 MB / 0.6478 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.7212, allocations: 8.031 kB / 0.6478 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.7214, allocations: 90.53 kB / 0.6479 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.7227, allocations: 151.2 kB / 0.6481 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.7236, allocations: 488.4 kB / 0.6485 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.7236, allocations: 33 kB / 0.6486 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.7237, allocations: 40 kB / 0.6486 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.7251, allocations: 0.6516 MB / 0.6492 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7251, allocations: 0 / 0.6492 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.7252, allocations: 20.88 kB / 0.6493 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.7252, allocations: 12 kB / 0.6493 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.7263, allocations: 0.5034 MB / 0.6498 GB, free: 12.11 MB / 494.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.003534/0.7298, allocations: 2.652 MB / 0.6523 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.7306, allocations: 322.7 kB / 0.6527 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.7309, allocations: 160.8 kB / 0.6528 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.7314, allocations: 441.5 kB / 0.6532 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/0.7315, allocations: 38.56 kB / 0.6533 GB, free: 8.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.7315, allocations: 0 / 0.6533 GB, free: 8.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001808/0.7333, allocations: 0.6976 MB / 0.6539 GB, free: 7.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.7334, allocations: 166.1 kB / 0.6541 GB, free: 7.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.734, allocations: 0.5184 MB / 0.6546 GB, free: 6.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.7341, allocations: 33.7 kB / 0.6546 GB, free: 6.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.7343, allocations: 299.6 kB / 0.6549 GB, free: 6.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7345, allocations: 126.2 kB / 0.655 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.7347, allocations: 122.1 kB / 0.6552 GB, free: 6.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7349, allocations: 362.8 kB / 0.6555 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.7352, allocations: 145 kB / 0.6556 GB, free: 5.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.7357, allocations: 320.2 kB / 0.656 GB, free: 5.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.7365, allocations: 482.7 kB / 0.6564 GB, free: 4.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7365, allocations: 0 / 0.6564 GB, free: 4.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001182/0.7377, allocations: 0.5676 MB / 0.657 GB, free: 4.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.7377, allocations: 14.44 kB / 0.657 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7377, allocations: 4 kB / 0.657 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.7394, allocations: 240.9 kB / 0.6572 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.7398, allocations: 115.8 kB / 0.6573 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005027/0.7403, allocations: 0.5952 MB / 0.6579 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.7408, allocations: 67.36 kB / 0.658 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.7409, allocations: 59.92 kB / 0.658 GB, free: 3.051 MB / 494.1 MB 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.0002971/0.7412, allocations: 189.6 kB / 0.6582 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7414, allocations: 59.41 kB / 0.6583 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.7436, allocations: 1.101 MB / 0.6593 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7436, allocations: 4 kB / 0.6593 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7436, allocations: 0 / 0.6593 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.7436, allocations: 7.984 kB / 0.6594 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.7452, allocations: 1.011 MB / 0.6603 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7452, allocations: 192 / 0.6603 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.7454, allocations: 55.97 kB / 0.6604 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/0.7489, allocations: 448.1 kB / 0.6608 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.7489, allocations: 8 kB / 0.6608 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004565/0.7494, allocations: 0.5953 MB / 0.6614 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7494, allocations: 0 / 0.6614 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.7502, allocations: 0.5008 MB / 0.6619 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.7504, allocations: 144.3 kB / 0.662 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.7505, allocations: 11.91 kB / 0.662 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.7509, allocations: 31.92 kB / 0.6621 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.751, allocations: 31.84 kB / 0.6621 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.7511, allocations: 16.05 kB / 0.6621 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005418/0.7516, allocations: 446.8 kB / 0.6626 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7516, allocations: 0 / 0.6626 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009634/0.7526, allocations: 291.8 kB / 0.6628 GB, free: 13.94 MB / 0.4981 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.001991/0.7546, allocations: 1.331 MB / 0.6641 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.7554, allocations: 372.8 kB / 0.6645 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7554, allocations: 0 / 0.6645 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.7558, allocations: 156.4 kB / 0.6646 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.7577, allocations: 402 kB / 0.665 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/0.7656, allocations: 5.349 MB / 0.6702 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.7662, allocations: 0.8676 MB / 0.6711 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001377/0.7676, allocations: 0.5671 MB / 0.6716 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.768, allocations: 247.3 kB / 0.6719 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.768, allocations: 0 / 0.6719 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.8109, allocations: 22.09 MB / 0.6934 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.8112, allocations: 296.4 kB / 0.6937 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.344, allocations: 0 / 0.6937 GB, free: 14.23 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches