Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001271/0.001271, allocations: 103 kB / 16.27 MB, free: 5.93 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.001335/0.001335, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1814/0.1814, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.09 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0789/0.08036, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3232/0.4036, allocations: 190 MB / 0.6159 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.4101, allocations: 5.69 MB / 0.6214 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.4104, allocations: 13.97 kB / 0.6214 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.4112, allocations: 329.2 kB / 0.6217 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.414, allocations: 1.62 MB / 0.6233 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.4153, allocations: 0.7391 MB / 0.6241 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.4165, allocations: 1.55 MB / 0.6256 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.417, allocations: 431.9 kB / 0.626 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.4175, allocations: 0.5753 MB / 0.6265 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.4179, allocations: 465 kB / 0.627 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.418, allocations: 52 kB / 0.627 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.4198, allocations: 1.314 MB / 0.6283 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.42, allocations: 159.4 kB / 0.6285 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.4203, allocations: 358.4 kB / 0.6288 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.4218, allocations: 1.594 MB / 0.6304 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4218, allocations: 3.984 kB / 0.6304 GB, free: 6.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4218, allocations: 0 / 0.6304 GB, free: 6.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4219, allocations: 4 kB / 0.6304 GB, free: 6.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001488/0.4234, allocations: 1.095 MB / 0.6314 GB, free: 5.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4234, allocations: 11.89 kB / 0.6315 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.793e-05/0.4235, allocations: 83.03 kB / 0.6315 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.4244, allocations: 143.1 kB / 0.6317 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.4249, allocations: 484.5 kB / 0.6321 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.425, allocations: 29 kB / 0.6322 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.425, allocations: 45.25 kB / 0.6322 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.4259, allocations: 0.5944 MB / 0.6328 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.426, allocations: 7.922 kB / 0.6328 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.426, allocations: 28 kB / 0.6328 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.426, allocations: 12 kB / 0.6328 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.4269, allocations: 475.6 kB / 0.6333 GB, free: 3.312 MB / 446.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.002487/0.4294, allocations: 2.705 MB / 0.6359 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.43, allocations: 347.4 kB / 0.6363 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.4303, allocations: 173.5 kB / 0.6364 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.4313, allocations: 1.297 MB / 0.6377 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4313, allocations: 42.84 kB / 0.6377 GB, free: 14.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.302e-06/0.4314, allocations: 0 / 0.6377 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001506/0.4329, allocations: 0.722 MB / 0.6384 GB, free: 13.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.4329, allocations: 136.5 kB / 0.6386 GB, free: 13.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.4334, allocations: 498 kB / 0.639 GB, free: 12.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4334, allocations: 37.7 kB / 0.6391 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4336, allocations: 275.9 kB / 0.6393 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.4337, allocations: 122.2 kB / 0.6395 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.4338, allocations: 102 kB / 0.6396 GB, free: 12.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4339, allocations: 358.8 kB / 0.6399 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.4342, allocations: 152.8 kB / 0.64 GB, free: 11.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.4346, allocations: 276.5 kB / 0.6403 GB, free: 11.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.4352, allocations: 445.5 kB / 0.6407 GB, free: 11.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4352, allocations: 9.438 kB / 0.6407 GB, free: 11.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008923/0.4361, allocations: 0.533 MB / 0.6413 GB, free: 10.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4362, allocations: 12 kB / 0.6413 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4362, allocations: 4 kB / 0.6413 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.4376, allocations: 240.5 kB / 0.6415 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.4379, allocations: 95.89 kB / 0.6416 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003713/0.4383, allocations: 0.6029 MB / 0.6422 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4386, allocations: 47.62 kB / 0.6422 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.4387, allocations: 47.98 kB / 0.6423 GB, free: 9.414 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0001844/0.4389, allocations: 189.6 kB / 0.6425 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.439, allocations: 59.42 kB / 0.6425 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.4404, allocations: 0.7142 MB / 0.6432 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4404, allocations: 4 kB / 0.6432 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4404, allocations: 8 kB / 0.6432 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.4404, allocations: 7.922 kB / 0.6432 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.4416, allocations: 1.035 MB / 0.6442 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4417, allocations: 4.156 kB / 0.6442 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4419, allocations: 55.84 kB / 0.6443 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/0.4449, allocations: 444.2 kB / 0.6447 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4449, allocations: 15.98 kB / 0.6447 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003546/0.4453, allocations: 0.607 MB / 0.6453 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4453, allocations: 0 / 0.6453 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.446, allocations: 0.5198 MB / 0.6458 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4461, allocations: 140.3 kB / 0.646 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.4462, allocations: 11.91 kB / 0.646 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.4465, allocations: 15.98 kB / 0.646 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.4466, allocations: 31.84 kB / 0.646 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.4466, allocations: 19.98 kB / 0.646 GB, free: 5.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.447, allocations: 418.8 kB / 0.6464 GB, free: 4.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 4 kB / 0.6464 GB, free: 4.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006925/0.4477, allocations: 323.7 kB / 0.6468 GB, free: 4.633 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001604/0.4493, allocations: 1.388 MB / 0.6481 GB, free: 3.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.4501, allocations: 395.5 kB / 0.6485 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4501, allocations: 0 / 0.6485 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4505, allocations: 169.5 kB / 0.6487 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.452, allocations: 365.2 kB / 0.649 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.4576, allocations: 5.091 MB / 0.654 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.458, allocations: 0.8596 MB / 0.6548 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007547/0.4587, allocations: 205 kB / 0.655 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.4591, allocations: 219.4 kB / 0.6552 GB, free: 11.71 MB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4591, allocations: 0 / 0.6552 GB, free: 11.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/1.113, allocations: 22.41 MB / 0.6771 GB, free: 5.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.23, allocations: 4.375 kB / 0.6771 GB, free: 5.281 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches