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.001069/0.001069, allocations: 111 kB / 17.33 MB, free: 6.016 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.001145/0.001145, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2124/0.2124, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.14 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4943/0.6049, allocations: 179 MB / 0.6326 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007195/0.6122, allocations: 4.631 MB / 0.6372 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.6131, allocations: 19.88 kB / 0.6372 GB, free: 9.281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.6142, allocations: 298.4 kB / 0.6375 GB, free: 8.988 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.6191, allocations: 1.636 MB / 0.6391 GB, free: 7.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.6216, allocations: 0.873 MB / 0.6399 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.6237, allocations: 1.703 MB / 0.6416 GB, free: 4.777 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.6243, allocations: 438.9 kB / 0.642 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.6258, allocations: 0.8409 MB / 0.6428 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.6264, allocations: 0.5332 MB / 0.6433 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.6265, allocations: 56 kB / 0.6434 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.6294, allocations: 1.252 MB / 0.6446 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.6296, allocations: 183.4 kB / 0.6448 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.6301, allocations: 378.4 kB / 0.6451 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.6325, allocations: 1.632 MB / 0.6467 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6325, allocations: 0 / 0.6467 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6325, allocations: 0 / 0.6467 GB, free: 15.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.6325, allocations: 0 / 0.6467 GB, free: 15.47 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.001895/0.6344, allocations: 1.111 MB / 0.6478 GB, free: 14.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6345, allocations: 8.031 kB / 0.6478 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.6346, allocations: 86.52 kB / 0.6479 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.6357, allocations: 151.2 kB / 0.6481 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.6364, allocations: 492.4 kB / 0.6485 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.6364, allocations: 41 kB / 0.6486 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.6365, allocations: 40 kB / 0.6486 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.6376, allocations: 0.6517 MB / 0.6492 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6376, allocations: 3.938 kB / 0.6492 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.6377, allocations: 24 kB / 0.6493 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6377, allocations: 12 kB / 0.6493 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.6386, allocations: 495.6 kB / 0.6498 GB, free: 12.23 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.00288/0.6415, allocations: 2.65 MB / 0.6523 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.6422, allocations: 332.8 kB / 0.6527 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.6425, allocations: 160.8 kB / 0.6528 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.6429, allocations: 433.5 kB / 0.6532 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.643, allocations: 38.56 kB / 0.6533 GB, free: 8.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.643, allocations: 4 kB / 0.6533 GB, free: 8.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001601/0.6446, allocations: 0.7063 MB / 0.654 GB, free: 7.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.6447, allocations: 158.2 kB / 0.6541 GB, free: 7.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.6453, allocations: 0.5184 MB / 0.6546 GB, free: 6.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.6454, allocations: 41.69 kB / 0.6547 GB, free: 6.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.6456, allocations: 299.5 kB / 0.6549 GB, free: 6.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.6457, allocations: 126.2 kB / 0.6551 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.6459, allocations: 122.1 kB / 0.6552 GB, free: 6.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6461, allocations: 366.8 kB / 0.6555 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.6464, allocations: 141.1 kB / 0.6557 GB, free: 5.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.6468, allocations: 326.9 kB / 0.656 GB, free: 5.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.6475, allocations: 465.9 kB / 0.6564 GB, free: 4.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6475, allocations: 4 kB / 0.6564 GB, free: 4.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009728/0.6484, allocations: 0.5674 MB / 0.657 GB, free: 4.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6485, allocations: 16.5 kB / 0.657 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6485, allocations: 11.94 kB / 0.657 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.65, allocations: 240.5 kB / 0.6572 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.6504, allocations: 115.9 kB / 0.6573 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/0.6509, allocations: 0.5835 MB / 0.6579 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.6514, allocations: 68.23 kB / 0.658 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/0.6515, allocations: 52.08 kB / 0.658 GB, free: 3.184 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.0003078/0.6518, allocations: 197.6 kB / 0.6582 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6519, allocations: 59.34 kB / 0.6583 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.654, allocations: 1.107 MB / 0.6594 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6541, allocations: 4 kB / 0.6594 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6541, allocations: 0 / 0.6594 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6541, allocations: 7.969 kB / 0.6594 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6555, allocations: 1.015 MB / 0.6604 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6555, allocations: 4 kB / 0.6604 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.6557, allocations: 47.92 kB / 0.6604 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.6589, allocations: 444.3 kB / 0.6608 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.6589, allocations: 16 kB / 0.6608 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004146/0.6594, allocations: 0.5914 MB / 0.6614 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6594, allocations: 7.969 kB / 0.6614 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.6601, allocations: 0.4889 MB / 0.6619 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6602, allocations: 136.4 kB / 0.662 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6604, allocations: 23.78 kB / 0.6621 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.6608, allocations: 31.97 kB / 0.6621 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.6608, allocations: 27.91 kB / 0.6621 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.6609, allocations: 19.98 kB / 0.6621 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005559/0.6614, allocations: 434.8 kB / 0.6625 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6614, allocations: 4 kB / 0.6626 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009014/0.6624, allocations: 287.8 kB / 0.6628 GB, free: 14.07 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.00191/0.6643, allocations: 1.349 MB / 0.6641 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008418/0.6651, allocations: 379.7 kB / 0.6645 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6651, allocations: 5.25 kB / 0.6645 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.6655, allocations: 156.2 kB / 0.6647 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.6673, allocations: 408.6 kB / 0.6651 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/0.6745, allocations: 5.34 MB / 0.6703 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.6749, allocations: 0.8714 MB / 0.6711 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001394/0.6764, allocations: 0.5752 MB / 0.6717 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.6768, allocations: 235.3 kB / 0.6719 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6768, allocations: 0 / 0.6719 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.7193, allocations: 22.66 MB / 0.694 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.7196, allocations: 299.2 kB / 0.6943 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.227, allocations: 0 / 0.6943 GB, free: 13.78 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