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.0009937/0.0009939, allocations: 94.17 kB / 17.35 MB, free: 6.375 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.001136/0.001136, allocations: 176.8 kB / 18.25 MB, free: 5.523 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.311/1.311, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2012/0.2012, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 8.281 kB / 410.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.391/0.4933, allocations: 176.6 MB / 0.6338 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0078/0.5011, allocations: 4.647 MB / 0.6383 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.5022, allocations: 19.88 kB / 0.6384 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5033, allocations: 286.4 kB / 0.6386 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.5087, allocations: 1.571 MB / 0.6402 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.511, allocations: 0.8587 MB / 0.641 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.5137, allocations: 2.179 MB / 0.6431 GB, free: 8.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.5144, allocations: 378.4 kB / 0.6435 GB, free: 7.984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.5161, allocations: 0.7668 MB / 0.6442 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008242/0.5169, allocations: 0.5059 MB / 0.6447 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.5171, allocations: 28 kB / 0.6448 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.5195, allocations: 1.197 MB / 0.6459 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.5197, allocations: 147.4 kB / 0.6461 GB, free: 5.336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.5203, allocations: 384 kB / 0.6464 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.5231, allocations: 1.589 MB / 0.648 GB, free: 3.359 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5231, allocations: 0 / 0.648 GB, free: 3.359 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5231, allocations: 0 / 0.648 GB, free: 3.359 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.5231, allocations: 0 / 0.648 GB, free: 3.359 MB / 478.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.001956/0.5251, allocations: 0.9434 MB / 0.6489 GB, free: 2.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5252, allocations: 8.031 kB / 0.6489 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.5253, allocations: 94.52 kB / 0.649 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5265, allocations: 155.2 kB / 0.6492 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.5273, allocations: 488.4 kB / 0.6496 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.5273, allocations: 33 kB / 0.6497 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.5274, allocations: 44 kB / 0.6497 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.5286, allocations: 0.6516 MB / 0.6503 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5286, allocations: 0 / 0.6503 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.5287, allocations: 27.94 kB / 0.6504 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.5287, allocations: 19.94 kB / 0.6504 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.5297, allocations: 0.4918 MB / 0.6509 GB, free: 276 kB / 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.003177/0.5329, allocations: 2.645 MB / 0.6534 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.5336, allocations: 330.7 kB / 0.6538 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.5339, allocations: 160.8 kB / 0.6539 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.5344, allocations: 437.5 kB / 0.6543 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.5344, allocations: 38.56 kB / 0.6544 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.316e-06/0.5344, allocations: 0 / 0.6544 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001709/0.5361, allocations: 0.7171 MB / 0.6551 GB, free: 11.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.5362, allocations: 158.2 kB / 0.6552 GB, free: 11.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.5369, allocations: 0.5223 MB / 0.6557 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.5369, allocations: 33.7 kB / 0.6558 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.5372, allocations: 303.6 kB / 0.6561 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5373, allocations: 122.2 kB / 0.6562 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.5374, allocations: 41.7 kB / 0.6562 GB, free: 10.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5376, allocations: 362.8 kB / 0.6566 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.5379, allocations: 145.1 kB / 0.6567 GB, free: 9.895 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.5383, allocations: 330.9 kB / 0.657 GB, free: 9.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.539, allocations: 482.7 kB / 0.6575 GB, free: 8.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5391, allocations: 0 / 0.6575 GB, free: 8.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001077/0.5401, allocations: 0.5715 MB / 0.658 GB, free: 8.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5402, allocations: 11.94 kB / 0.658 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5402, allocations: 4 kB / 0.658 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5418, allocations: 297 kB / 0.6583 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.5422, allocations: 119.8 kB / 0.6584 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004582/0.5427, allocations: 0.5835 MB / 0.659 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.5431, allocations: 72.48 kB / 0.6591 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.5433, allocations: 55.92 kB / 0.6591 GB, free: 7.215 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.00027/0.5436, allocations: 185.7 kB / 0.6593 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.5438, allocations: 59.34 kB / 0.6594 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.5458, allocations: 1.11 MB / 0.6604 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.5458, allocations: 4 kB / 0.6605 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5458, allocations: 3.938 kB / 0.6605 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5458, allocations: 3.984 kB / 0.6605 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.5474, allocations: 1.015 MB / 0.6615 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5474, allocations: 4 kB / 0.6615 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.5477, allocations: 52.11 kB / 0.6615 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/0.5511, allocations: 0.5431 MB / 0.662 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.5512, allocations: 8 kB / 0.662 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004493/0.5516, allocations: 0.6031 MB / 0.6626 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5516, allocations: 3.984 kB / 0.6626 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.5524, allocations: 0.5087 MB / 0.6631 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.5526, allocations: 168.2 kB / 0.6633 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5527, allocations: 12 kB / 0.6633 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.5531, allocations: 23.98 kB / 0.6633 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.5532, allocations: 31.91 kB / 0.6634 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.5532, allocations: 19.98 kB / 0.6634 GB, free: 2.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005578/0.5538, allocations: 434.8 kB / 0.6638 GB, free: 2.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5538, allocations: 4 kB / 0.6638 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009927/0.5548, allocations: 295.7 kB / 0.6641 GB, free: 1.953 MB / 494.1 MB 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.001902/0.5567, allocations: 1.331 MB / 0.6654 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.5575, allocations: 376.4 kB / 0.6657 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5575, allocations: 7.938 kB / 0.6657 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.5578, allocations: 156.3 kB / 0.6659 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.5599, allocations: 394.5 kB / 0.6663 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.5674, allocations: 5.398 MB / 0.6715 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.5679, allocations: 0.8754 MB / 0.6724 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001388/0.5693, allocations: 0.5675 MB / 0.6729 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.5698, allocations: 239.3 kB / 0.6732 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.5698, allocations: 0 / 0.6732 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/0.6282, allocations: 21.89 MB / 0.6946 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003752/0.6286, allocations: 299.7 kB / 0.6948 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.086, allocations: 0 / 0.6948 GB, free: 2.391 MB / 0.5137 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