Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_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.001494/0.001494, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001451/0.001451, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2207/0.2207, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.385, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2259/0.6109, allocations: 183 MB / 0.6972 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.6169, allocations: 3.263 MB / 0.7004 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.6178, allocations: 15.94 kB / 0.7004 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.619, allocations: 325.8 kB / 0.7007 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.6232, allocations: 1.391 MB / 0.7021 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.6253, allocations: 0.7437 MB / 0.7028 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.6275, allocations: 1.548 MB / 0.7043 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.6282, allocations: 431.4 kB / 0.7047 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.6291, allocations: 0.5799 MB / 0.7053 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.6297, allocations: 462.1 kB / 0.7057 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.6298, allocations: 52 kB / 0.7058 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.6324, allocations: 1.189 MB / 0.7069 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.6326, allocations: 151.5 kB / 0.7071 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.633, allocations: 362.4 kB / 0.7074 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.6356, allocations: 1.507 MB / 0.7089 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6356, allocations: 0 / 0.7089 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6356, allocations: 0 / 0.7089 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.6356, allocations: 0 / 0.7089 GB, free: 8.367 MB / 0.5606 GB 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.002083/0.6377, allocations: 1.077 MB / 0.71 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6378, allocations: 8.031 kB / 0.71 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.6379, allocations: 86.53 kB / 0.71 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.6389, allocations: 147.5 kB / 0.7102 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.6398, allocations: 0.489 MB / 0.7107 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.6398, allocations: 36.94 kB / 0.7107 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-05/0.6399, allocations: 36 kB / 0.7107 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.641, allocations: 0.5945 MB / 0.7113 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.641, allocations: 0 / 0.7113 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.6411, allocations: 24 kB / 0.7113 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6411, allocations: 8 kB / 0.7113 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.6421, allocations: 487.5 kB / 0.7118 GB, free: 5.25 MB / 0.5606 GB 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.003422/0.6456, allocations: 2.683 MB / 0.7144 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.6464, allocations: 339.6 kB / 0.7148 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.6467, allocations: 173.3 kB / 0.7149 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.6472, allocations: 445.8 kB / 0.7153 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6472, allocations: 42.78 kB / 0.7154 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.6472, allocations: 0 / 0.7154 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00182/0.6491, allocations: 0.7346 MB / 0.7161 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.6492, allocations: 132.5 kB / 0.7162 GB, free: 340 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.255/0.9042, allocations: 488.6 kB / 0.7167 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.9044, allocations: 35.39 kB / 0.7167 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.9046, allocations: 289.4 kB / 0.717 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.9048, allocations: 121.5 kB / 0.7171 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.9051, allocations: 109.3 kB / 0.7172 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9052, allocations: 359.3 kB / 0.7176 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.9056, allocations: 150 kB / 0.7177 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.9061, allocations: 280.4 kB / 0.718 GB, free: 190 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.9069, allocations: 444.6 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9069, allocations: 1.344 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.908, allocations: 0.5512 MB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.908, allocations: 8.812 kB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.908, allocations: 5.062 kB / 0.719 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.9096, allocations: 235.4 kB / 0.7192 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.9099, allocations: 112.3 kB / 0.7193 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/0.9103, allocations: 0.5907 MB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.9107, allocations: 51.41 kB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.9108, allocations: 46.86 kB / 0.72 GB, free: 189 MB / 0.5606 GB 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.0002733/0.9111, allocations: 191.5 kB / 0.7201 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.9112, allocations: 55.48 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.9132, allocations: 1.087 MB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.9132, allocations: 3.562 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9133, allocations: 0.6094 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.9133, allocations: 3.984 kB / 0.7213 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.9147, allocations: 1.036 MB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9147, allocations: 3.156 kB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.9149, allocations: 55.06 kB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/0.918, allocations: 446.3 kB / 0.7228 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.9181, allocations: 13.56 kB / 0.7228 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000341/0.9184, allocations: 0.6101 MB / 0.7234 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9184, allocations: 1.781 kB / 0.7234 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.9193, allocations: 0.5171 MB / 0.7239 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.9194, allocations: 136.9 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.9195, allocations: 15.41 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.9199, allocations: 20.64 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.9199, allocations: 22.22 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.92, allocations: 23.17 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004696/0.9205, allocations: 421 kB / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9205, allocations: 0 / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000793/0.9213, allocations: 286.1 kB / 0.7248 GB, free: 186.5 MB / 0.5606 GB 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.001585/0.9229, allocations: 1.342 MB / 0.7261 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008548/0.9237, allocations: 375.6 kB / 0.7264 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9237, allocations: 0 / 0.7264 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.9241, allocations: 169.8 kB / 0.7266 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.9257, allocations: 350 kB / 0.7269 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.9315, allocations: 4.937 MB / 0.7317 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.9319, allocations: 0.8609 MB / 0.7326 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001002/0.9329, allocations: 0.5582 MB / 0.7331 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.9332, allocations: 235.6 kB / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.9333, allocations: 0 / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/0.9787, allocations: 21.55 MB / 0.7544 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.35, allocations: 5.016 kB / 0.7544 GB, free: 163.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches