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.001206/0.001206, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001209/0.001209, allocations: 187 kB / 18.71 MB, free: 4.344 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.206/0.206, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3733, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1996/0.5729, allocations: 183 MB / 0.6972 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.5792, allocations: 3.263 MB / 0.7004 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.5801, allocations: 15.94 kB / 0.7004 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5814, allocations: 321.8 kB / 0.7007 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.5858, allocations: 1.394 MB / 0.7021 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.5881, allocations: 0.7397 MB / 0.7028 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002963/0.5911, allocations: 1.547 MB / 0.7043 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009393/0.5921, allocations: 427.4 kB / 0.7047 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5933, allocations: 0.5838 MB / 0.7053 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008446/0.5942, allocations: 466.1 kB / 0.7057 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.5944, allocations: 52 kB / 0.7058 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.5973, allocations: 1.193 MB / 0.7069 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.5976, allocations: 151.5 kB / 0.7071 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.5984, allocations: 358.4 kB / 0.7074 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.6022, allocations: 1.5 MB / 0.7089 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6022, allocations: 0 / 0.7089 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6022, allocations: 0 / 0.7089 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.6023, allocations: 4 kB / 0.7089 GB, free: 8.391 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.002388/0.6047, allocations: 1.052 MB / 0.7099 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6047, allocations: 15.97 kB / 0.7099 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.6049, allocations: 82.53 kB / 0.71 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.606, allocations: 139.1 kB / 0.7101 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.6069, allocations: 0.4887 MB / 0.7106 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.607, allocations: 32.94 kB / 0.7107 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.6071, allocations: 40 kB / 0.7107 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6082, allocations: 0.5984 MB / 0.7113 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6082, allocations: 0 / 0.7113 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.6083, allocations: 16 kB / 0.7113 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.6083, allocations: 16 kB / 0.7113 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.6093, allocations: 475.6 kB / 0.7118 GB, free: 5.312 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.003288/0.6126, allocations: 2.682 MB / 0.7144 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.6133, allocations: 349.8 kB / 0.7147 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.6137, allocations: 169.3 kB / 0.7149 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.6141, allocations: 441.8 kB / 0.7153 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.6141, allocations: 42.72 kB / 0.7153 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.6141, allocations: 4 kB / 0.7153 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001797/0.6159, allocations: 0.7304 MB / 0.7161 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.616, allocations: 132.5 kB / 0.7162 GB, free: 404 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2594/0.8754, allocations: 493.4 kB / 0.7166 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.8756, allocations: 38.17 kB / 0.7167 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.8759, allocations: 279 kB / 0.717 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.876, allocations: 117.9 kB / 0.7171 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.8763, allocations: 106.8 kB / 0.7172 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8764, allocations: 362.3 kB / 0.7175 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.8769, allocations: 152.6 kB / 0.7177 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.8774, allocations: 274.1 kB / 0.7179 GB, free: 190 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.8782, allocations: 442.3 kB / 0.7183 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.8782, allocations: 1.156 kB / 0.7183 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001103/0.8793, allocations: 0.5554 MB / 0.7189 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.8793, allocations: 5.438 kB / 0.7189 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8793, allocations: 3.469 kB / 0.7189 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.8811, allocations: 238.2 kB / 0.7191 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.8815, allocations: 106.2 kB / 0.7192 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000464/0.882, allocations: 0.5899 MB / 0.7198 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.8824, allocations: 54.41 kB / 0.7198 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.8825, allocations: 46.98 kB / 0.7199 GB, free: 188.9 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.0002803/0.8828, allocations: 186 kB / 0.7201 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.8829, allocations: 51.09 kB / 0.7201 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.8851, allocations: 1.092 MB / 0.7212 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.8851, allocations: 3.641 kB / 0.7212 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8851, allocations: 1.438 kB / 0.7212 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.8851, allocations: 2.859 kB / 0.7212 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.8867, allocations: 1.036 MB / 0.7222 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8867, allocations: 5.5 kB / 0.7222 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.8869, allocations: 51.55 kB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/0.8903, allocations: 441.3 kB / 0.7227 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.8904, allocations: 14.06 kB / 0.7227 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003614/0.8907, allocations: 0.6112 MB / 0.7233 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8908, allocations: 1.188 kB / 0.7233 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.8916, allocations: 0.5177 MB / 0.7238 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.8917, allocations: 141.4 kB / 0.7239 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.8918, allocations: 9.922 kB / 0.7239 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.8921, allocations: 18.09 kB / 0.724 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.8922, allocations: 25.14 kB / 0.724 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.8922, allocations: 17.02 kB / 0.724 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005528/0.8928, allocations: 424.9 kB / 0.7244 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8928, allocations: 0 / 0.7244 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000896/0.8937, allocations: 281.8 kB / 0.7247 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.001674/0.8954, allocations: 1.329 MB / 0.726 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009218/0.8963, allocations: 388 kB / 0.7263 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.8964, allocations: 5.188 kB / 0.7263 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.8967, allocations: 165.5 kB / 0.7265 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.8985, allocations: 352.8 kB / 0.7268 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.9056, allocations: 4.909 MB / 0.7316 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.906, allocations: 0.8691 MB / 0.7325 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001183/0.9072, allocations: 0.5538 MB / 0.733 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.9076, allocations: 234.4 kB / 0.7332 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.9076, allocations: 5.156 kB / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.9545, allocations: 21.86 MB / 0.7546 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.05, allocations: 1.031 kB / 0.7546 GB, free: 163.5 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