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.001129/0.001129, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.208/1.208, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.2679/0.2679, allocations: 43.5 MB / 313.5 MB, free: 8.281 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.001289/0.001289, allocations: 63.91 kB / 382.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09264, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3071/0.3998, allocations: 188.4 MB / 0.6136 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.4068, allocations: 5.893 MB / 0.6193 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.4073, allocations: 15.88 kB / 0.6194 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.4081, allocations: 266.5 kB / 0.6196 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.4111, allocations: 1.434 MB / 0.621 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4124, allocations: 0.6648 MB / 0.6217 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.414, allocations: 2.04 MB / 0.6237 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.4144, allocations: 371.6 kB / 0.624 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.415, allocations: 0.5252 MB / 0.6245 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.4154, allocations: 478 kB / 0.625 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.4155, allocations: 32 kB / 0.625 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.4173, allocations: 1.279 MB / 0.6263 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.4175, allocations: 143.4 kB / 0.6264 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.4177, allocations: 330.5 kB / 0.6267 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4193, allocations: 1.59 MB / 0.6283 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4193, allocations: 7.938 kB / 0.6283 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4193, allocations: 0 / 0.6283 GB, free: 472 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.4193, allocations: 0 / 0.6283 GB, free: 472 kB / 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.2033/0.6226, allocations: 1.09 MB / 0.6293 GB, free: 48.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6227, allocations: 10.56 kB / 0.6293 GB, free: 48.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.6228, allocations: 82.12 kB / 0.6294 GB, free: 48.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6239, allocations: 140.7 kB / 0.6296 GB, free: 48.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.6246, allocations: 485.8 kB / 0.63 GB, free: 48.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.6246, allocations: 32.28 kB / 0.6301 GB, free: 48.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.6247, allocations: 40.97 kB / 0.6301 GB, free: 48.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6258, allocations: 0.5945 MB / 0.6307 GB, free: 47.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6258, allocations: 0 / 0.6307 GB, free: 47.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.6259, allocations: 20.97 kB / 0.6307 GB, free: 47.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6259, allocations: 15.19 kB / 0.6307 GB, free: 47.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.6268, allocations: 478.3 kB / 0.6312 GB, free: 47.89 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.002686/0.6295, allocations: 2.697 MB / 0.6338 GB, free: 46.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.6302, allocations: 343.3 kB / 0.6341 GB, free: 46.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.6304, allocations: 174.2 kB / 0.6343 GB, free: 46.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.6315, allocations: 1.305 MB / 0.6356 GB, free: 44.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6315, allocations: 37.72 kB / 0.6356 GB, free: 44.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.6315, allocations: 3.281 kB / 0.6356 GB, free: 44.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001596/0.6331, allocations: 0.7244 MB / 0.6363 GB, free: 44.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6332, allocations: 138.7 kB / 0.6364 GB, free: 44.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.6336, allocations: 0.4887 MB / 0.6369 GB, free: 44.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.6337, allocations: 35.7 kB / 0.637 GB, free: 44.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.6338, allocations: 276.3 kB / 0.6372 GB, free: 44.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.6339, allocations: 125.9 kB / 0.6373 GB, free: 44.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.634, allocations: 96.67 kB / 0.6374 GB, free: 44.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.6341, allocations: 363.8 kB / 0.6378 GB, free: 43.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.6344, allocations: 149.8 kB / 0.6379 GB, free: 43.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.6348, allocations: 284.4 kB / 0.6382 GB, free: 43.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.6354, allocations: 438.2 kB / 0.6386 GB, free: 43.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6354, allocations: 3.781 kB / 0.6386 GB, free: 43.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008692/0.6363, allocations: 0.5372 MB / 0.6391 GB, free: 43.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6363, allocations: 6.312 kB / 0.6391 GB, free: 43.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6363, allocations: 4.844 kB / 0.6392 GB, free: 43.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.6378, allocations: 239.9 kB / 0.6394 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.6381, allocations: 105.8 kB / 0.6395 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/0.6385, allocations: 0.5939 MB / 0.6401 GB, free: 43.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.6388, allocations: 68.66 kB / 0.6401 GB, free: 43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.6389, allocations: 43.48 kB / 0.6402 GB, free: 43 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.0001809/0.6391, allocations: 197.7 kB / 0.6404 GB, free: 42.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.6392, allocations: 52.81 kB / 0.6404 GB, free: 42.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.6406, allocations: 0.7264 MB / 0.6411 GB, free: 42.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6406, allocations: 10.12 kB / 0.6411 GB, free: 42.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6407, allocations: 3.938 kB / 0.6411 GB, free: 42.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6407, allocations: 0 / 0.6411 GB, free: 42.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6419, allocations: 1.037 MB / 0.6421 GB, free: 42.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6419, allocations: 4.375 kB / 0.6421 GB, free: 42.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.6421, allocations: 51.53 kB / 0.6422 GB, free: 42.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.6452, allocations: 447.2 kB / 0.6426 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.6453, allocations: 13.03 kB / 0.6426 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.6456, allocations: 0.61 MB / 0.6432 GB, free: 41.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6456, allocations: 3 kB / 0.6432 GB, free: 41.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.6463, allocations: 0.5168 MB / 0.6437 GB, free: 41.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.6464, allocations: 139.6 kB / 0.6439 GB, free: 41.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.6465, allocations: 6.781 kB / 0.6439 GB, free: 41.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.6468, allocations: 38.53 kB / 0.6439 GB, free: 41.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.6469, allocations: 31.67 kB / 0.6439 GB, free: 41.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.6469, allocations: 18.84 kB / 0.644 GB, free: 41.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.6473, allocations: 423.6 kB / 0.6444 GB, free: 41.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6473, allocations: 0 / 0.6444 GB, free: 41.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.6481, allocations: 316.6 kB / 0.6447 GB, free: 41.34 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.001584/0.6497, allocations: 1.395 MB / 0.646 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.6504, allocations: 366 kB / 0.6464 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6504, allocations: 4.125 kB / 0.6464 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.6507, allocations: 170.2 kB / 0.6465 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6522, allocations: 351.9 kB / 0.6469 GB, free: 40.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.6578, allocations: 5.235 MB / 0.652 GB, free: 38.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.6581, allocations: 0.8622 MB / 0.6528 GB, free: 37.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008012/0.6589, allocations: 209.2 kB / 0.653 GB, free: 37.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.6592, allocations: 214.2 kB / 0.6532 GB, free: 37.48 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6592, allocations: 1 kB / 0.6532 GB, free: 37.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.272, allocations: 21.71 MB / 0.6744 GB, free: 29.31 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/2.272, allocations: 302.9 kB / 0.6747 GB, free: 28.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/4.47, allocations: 0 / 0.6747 GB, free: 28.93 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