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.001058/0.001058, allocations: 109.5 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.001163/0.001163, allocations: 188.8 kB / 18.71 MB, free: 4.348 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1962/0.1962, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3255, 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.198/0.5235, allocations: 183 MB / 0.6972 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005458/0.529, allocations: 3.263 MB / 0.7004 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.5297, allocations: 15.94 kB / 0.7004 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.5308, allocations: 321.8 kB / 0.7007 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.5347, allocations: 1.398 MB / 0.7021 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.5366, allocations: 0.74 MB / 0.7028 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.5386, allocations: 1.548 MB / 0.7043 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.5394, allocations: 431.4 kB / 0.7047 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5407, allocations: 0.576 MB / 0.7053 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.5415, allocations: 474.1 kB / 0.7057 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5416, allocations: 52 kB / 0.7058 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.544, allocations: 1.197 MB / 0.7069 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.5443, allocations: 151.5 kB / 0.7071 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.5448, allocations: 350.4 kB / 0.7074 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.5476, allocations: 1.5 MB / 0.7089 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5477, allocations: 0 / 0.7089 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5477, allocations: 0 / 0.7089 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.604e-05/0.5477, allocations: 8 kB / 0.7089 GB, free: 8.422 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.00237/0.5501, allocations: 1.048 MB / 0.7099 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5502, allocations: 12.03 kB / 0.7099 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.5503, allocations: 86.52 kB / 0.71 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.5514, allocations: 139.2 kB / 0.7101 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.5523, allocations: 0.4887 MB / 0.7106 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.5523, allocations: 36.94 kB / 0.7107 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.5524, allocations: 44 kB / 0.7107 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5536, allocations: 0.5906 MB / 0.7113 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5536, allocations: 0 / 0.7113 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.5537, allocations: 16 kB / 0.7113 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5537, allocations: 12 kB / 0.7113 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/0.5546, allocations: 487.5 kB / 0.7118 GB, free: 5.34 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.00354/0.5582, allocations: 2.674 MB / 0.7144 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.559, allocations: 352.1 kB / 0.7147 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.5593, allocations: 177.4 kB / 0.7149 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/0.5597, allocations: 437.8 kB / 0.7153 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.5598, allocations: 46.78 kB / 0.7153 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.057e-06/0.5598, allocations: 0 / 0.7153 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001877/0.5617, allocations: 0.7226 MB / 0.7161 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.5619, allocations: 140.5 kB / 0.7162 GB, free: 436 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2228/0.7847, allocations: 498.6 kB / 0.7167 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.7848, allocations: 31.36 kB / 0.7167 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.785, allocations: 277.3 kB / 0.717 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.7851, allocations: 116.5 kB / 0.7171 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7854, allocations: 107.8 kB / 0.7172 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.7855, allocations: 358.7 kB / 0.7175 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.7859, allocations: 149.6 kB / 0.7177 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.7863, allocations: 279.9 kB / 0.7179 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.7871, allocations: 441.4 kB / 0.7183 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7871, allocations: 1.312 kB / 0.7183 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001132/0.7883, allocations: 0.5541 MB / 0.7189 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7883, allocations: 6.703 kB / 0.7189 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.7883, allocations: 8.188 kB / 0.7189 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.7899, allocations: 233.6 kB / 0.7191 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.7903, allocations: 108 kB / 0.7192 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003685/0.7907, allocations: 0.5898 MB / 0.7198 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.791, allocations: 56.92 kB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.7911, allocations: 46.83 kB / 0.7199 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.0002278/0.7914, allocations: 187.4 kB / 0.7201 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.7915, allocations: 50.69 kB / 0.7201 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.7934, allocations: 1.095 MB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7934, allocations: 3.75 kB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7935, allocations: 3.938 kB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7935, allocations: 3.281 kB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.7949, allocations: 1.034 MB / 0.7222 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.795, allocations: 3.969 kB / 0.7222 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.7952, allocations: 51.7 kB / 0.7223 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/0.7985, allocations: 443.6 kB / 0.7227 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.7985, allocations: 13.8 kB / 0.7227 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003303/0.7989, allocations: 0.6068 MB / 0.7233 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7989, allocations: 1.375 kB / 0.7233 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.7997, allocations: 0.5172 MB / 0.7238 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.7998, allocations: 132.6 kB / 0.7239 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.7999, allocations: 14.5 kB / 0.7239 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.8003, allocations: 20.19 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.8004, allocations: 23.19 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.8004, allocations: 19.86 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005408/0.801, allocations: 421.4 kB / 0.7244 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.801, allocations: 0 / 0.7244 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008592/0.8018, allocations: 280 kB / 0.7247 GB, free: 186.6 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.001603/0.8034, allocations: 1.339 MB / 0.726 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008791/0.8043, allocations: 384.1 kB / 0.7263 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8043, allocations: 1.438 kB / 0.7263 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.8047, allocations: 167.5 kB / 0.7265 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.001719/0.8064, allocations: 346.8 kB / 0.7268 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.8126, allocations: 4.91 MB / 0.7316 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.8129, allocations: 0.8615 MB / 0.7325 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001/0.8139, allocations: 0.5524 MB / 0.733 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.8143, allocations: 235.7 kB / 0.7332 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.8143, allocations: 0 / 0.7332 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.8527, allocations: 21.88 MB / 0.7546 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.85, allocations: 5.031 kB / 0.7546 GB, free: 163.6 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