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.001394/0.001394, allocations: 105.2 kB / 15.98 MB, free: 6.34 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.001364/0.001364, allocations: 194.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6506/0.6506, allocations: 43.49 MB / 313.6 MB, free: 8.5 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.001831/0.001831, allocations: 63.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.8104/1.039, allocations: 188 MB / 0.6134 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/1.051, allocations: 5.753 MB / 0.619 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/1.052, allocations: 23.81 kB / 0.619 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/1.054, allocations: 274.5 kB / 0.6193 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00696/1.061, allocations: 1.483 MB / 0.6207 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/1.064, allocations: 0.6841 MB / 0.6214 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00336/1.067, allocations: 1.552 MB / 0.6229 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/1.068, allocations: 424.5 kB / 0.6233 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.069, allocations: 0.5838 MB / 0.6239 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/1.07, allocations: 490 kB / 0.6244 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/1.07, allocations: 52 kB / 0.6244 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/1.074, allocations: 1.326 MB / 0.6257 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/1.074, allocations: 167.4 kB / 0.6259 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/1.075, allocations: 342.5 kB / 0.6262 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/1.078, allocations: 1.625 MB / 0.6278 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.078, allocations: 0 / 0.6278 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.158e-06/1.078, allocations: 0 / 0.6278 GB, free: 1.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/1.078, allocations: 0 / 0.6278 GB, free: 1.152 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002357/1.081, allocations: 1.095 MB / 0.6289 GB, free: 8 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.4358/1.516, allocations: 11.34 kB / 0.6289 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005033/1.517, allocations: 86.48 kB / 0.6289 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.519, allocations: 136 kB / 0.6291 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.52, allocations: 490.2 kB / 0.6295 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/1.521, allocations: 32.19 kB / 0.6296 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.521, allocations: 40.66 kB / 0.6296 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.523, allocations: 0.5909 MB / 0.6302 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/1.523, allocations: 12.34 kB / 0.6302 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.523, allocations: 18.81 kB / 0.6302 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/1.523, allocations: 8.562 kB / 0.6302 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.524, allocations: 481.3 kB / 0.6307 GB, free: 159.9 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.004437/1.528, allocations: 2.689 MB / 0.6333 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/1.529, allocations: 347.7 kB / 0.6336 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/1.53, allocations: 172.5 kB / 0.6338 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/1.532, allocations: 1.302 MB / 0.6351 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.532, allocations: 40.06 kB / 0.6351 GB, free: 156.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.566e-06/1.532, allocations: 0 / 0.6351 GB, free: 156.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002315/1.534, allocations: 0.7373 MB / 0.6358 GB, free: 156.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.534, allocations: 130.9 kB / 0.636 GB, free: 156.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/1.535, allocations: 0.4895 MB / 0.6364 GB, free: 156.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/1.535, allocations: 32.58 kB / 0.6365 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/1.536, allocations: 281.3 kB / 0.6367 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.536, allocations: 118.1 kB / 0.6369 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/1.536, allocations: 98 kB / 0.6369 GB, free: 155.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/1.536, allocations: 362.9 kB / 0.6373 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/1.537, allocations: 157.9 kB / 0.6374 GB, free: 155.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/1.537, allocations: 276 kB / 0.6377 GB, free: 155.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/1.538, allocations: 432.6 kB / 0.6381 GB, free: 155.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.538, allocations: 6.438 kB / 0.6381 GB, free: 155.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001269/1.539, allocations: 0.548 MB / 0.6387 GB, free: 154.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.539, allocations: 5.25 kB / 0.6387 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.539, allocations: 6.781 kB / 0.6387 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/1.541, allocations: 242.4 kB / 0.6389 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.541, allocations: 101.1 kB / 0.639 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007312/1.542, allocations: 0.6012 MB / 0.6396 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/1.543, allocations: 66 kB / 0.6397 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.543, allocations: 42.84 kB / 0.6397 GB, free: 154.2 MB / 494.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.0004072/1.543, allocations: 191.8 kB / 0.6399 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.544, allocations: 56.5 kB / 0.6399 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/1.545, allocations: 0.7298 MB / 0.6406 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.545, allocations: 2.812 kB / 0.6406 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.545, allocations: 0 / 0.6406 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.546, allocations: 0.8438 kB / 0.6406 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/1.548, allocations: 1.036 MB / 0.6417 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.548, allocations: 3.938 kB / 0.6417 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/1.548, allocations: 54.22 kB / 0.6417 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/1.551, allocations: 445.7 kB / 0.6421 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/1.551, allocations: 17.89 kB / 0.6422 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004864/1.552, allocations: 0.6089 MB / 0.6427 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.552, allocations: 2.875 kB / 0.6428 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/1.553, allocations: 0.5107 MB / 0.6432 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/1.553, allocations: 143.3 kB / 0.6434 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.553, allocations: 7.125 kB / 0.6434 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/1.554, allocations: 45.12 kB / 0.6434 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.554, allocations: 19.06 kB / 0.6435 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/1.554, allocations: 21.89 kB / 0.6435 GB, free: 152.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007465/1.555, allocations: 429.6 kB / 0.6439 GB, free: 151.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.555, allocations: 0 / 0.6439 GB, free: 151.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001581/1.556, allocations: 324 kB / 0.6442 GB, free: 151.8 MB / 494.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.002837/1.559, allocations: 1.384 MB / 0.6455 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/1.56, allocations: 392.2 kB / 0.6459 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.56, allocations: 2.969 kB / 0.6459 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/1.561, allocations: 163.5 kB / 0.6461 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.563, allocations: 363.9 kB / 0.6464 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/1.572, allocations: 5.244 MB / 0.6515 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/1.573, allocations: 0.8663 MB / 0.6524 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00113/1.574, allocations: 211.4 kB / 0.6526 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/1.575, allocations: 212 kB / 0.6528 GB, free: 146.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/1.575, allocations: 0 / 0.6528 GB, free: 146.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08273/1.657, allocations: 22.22 MB / 0.6745 GB, free: 141.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/1.658, allocations: 312.9 kB / 0.6748 GB, free: 140.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/4.674, allocations: 0 / 0.6748 GB, free: 140.8 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches