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.001167/0.001167, allocations: 107.2 kB / 16.41 MB, free: 6.496 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.001164/0.001164, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2384/0.2384, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001626/0.001626, allocations: 76.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1078, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5075/0.6154, allocations: 190 MB / 0.673 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008833/0.6242, allocations: 5.694 MB / 0.6785 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.6254, allocations: 19.88 kB / 0.6786 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.6267, allocations: 321.8 kB / 0.6789 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.6318, allocations: 1.642 MB / 0.6805 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.6339, allocations: 0.7185 MB / 0.6812 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.6364, allocations: 1.551 MB / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006678/0.6371, allocations: 423.5 kB / 0.6831 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009304/0.638, allocations: 0.5877 MB / 0.6837 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.6386, allocations: 470.1 kB / 0.6841 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.6387, allocations: 52 kB / 0.6842 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.6417, allocations: 1.398 MB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.6419, allocations: 159.5 kB / 0.6857 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00041/0.6423, allocations: 350.5 kB / 0.686 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.6451, allocations: 1.613 MB / 0.6876 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6451, allocations: 3.984 kB / 0.6876 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6451, allocations: 4 kB / 0.6876 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.6451, allocations: 0 / 0.6876 GB, free: 13.7 MB / 0.5294 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.002354/0.6475, allocations: 1.087 MB / 0.6886 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.6475, allocations: 15.89 kB / 0.6887 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.6477, allocations: 82.53 kB / 0.6887 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.6487, allocations: 143.2 kB / 0.6889 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6499, allocations: 0.4965 MB / 0.6894 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.65, allocations: 33 kB / 0.6894 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.65, allocations: 36 kB / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6512, allocations: 0.5906 MB / 0.69 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6512, allocations: 7.938 kB / 0.69 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6513, allocations: 23.94 kB / 0.69 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6513, allocations: 12 kB / 0.69 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.6522, allocations: 475.6 kB / 0.6905 GB, free: 10.58 MB / 0.5294 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.00355/0.6557, allocations: 2.69 MB / 0.6931 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.6565, allocations: 353.8 kB / 0.6935 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.6568, allocations: 177.3 kB / 0.6936 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.6585, allocations: 1.304 MB / 0.6949 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.6585, allocations: 34.84 kB / 0.6949 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.6585, allocations: 0 / 0.6949 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.00189/0.6604, allocations: 0.7337 MB / 0.6957 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.6605, allocations: 132.5 kB / 0.6958 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.6611, allocations: 0.4902 MB / 0.6963 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.6611, allocations: 29.7 kB / 0.6963 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6613, allocations: 279.9 kB / 0.6966 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.6614, allocations: 118.2 kB / 0.6967 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6616, allocations: 102 kB / 0.6968 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6618, allocations: 366.8 kB / 0.6971 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.6621, allocations: 144.8 kB / 0.6973 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.6625, allocations: 275.7 kB / 0.6975 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.6632, allocations: 457.2 kB / 0.698 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6632, allocations: 0 / 0.698 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00101/0.6643, allocations: 0.5404 MB / 0.6985 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6643, allocations: 4 kB / 0.6985 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6643, allocations: 4 kB / 0.6985 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.6659, allocations: 237 kB / 0.6987 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.6662, allocations: 107.9 kB / 0.6988 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007152/0.6669, allocations: 0.5991 MB / 0.6994 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.6673, allocations: 47.52 kB / 0.6995 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.6674, allocations: 43.94 kB / 0.6995 GB, free: 0.6797 MB / 0.5294 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.0002662/0.6676, allocations: 193.6 kB / 0.6997 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.6678, allocations: 59.33 kB / 0.6997 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.6693, allocations: 0.7112 MB / 0.7004 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6693, allocations: 7.984 kB / 0.7004 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6693, allocations: 0 / 0.7004 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6693, allocations: 3.938 kB / 0.7004 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.671, allocations: 1.041 MB / 0.7015 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.671, allocations: 0 / 0.7015 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6712, allocations: 60.97 kB / 0.7015 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.6744, allocations: 444.4 kB / 0.7019 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.6744, allocations: 8 kB / 0.7019 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.675, allocations: 0.607 MB / 0.7025 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.675, allocations: 4.031 kB / 0.7025 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6762, allocations: 0.5157 MB / 0.703 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.6764, allocations: 136.3 kB / 0.7032 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.6765, allocations: 11.91 kB / 0.7032 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.6768, allocations: 23.98 kB / 0.7032 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.6769, allocations: 31.84 kB / 0.7032 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.6769, allocations: 15.98 kB / 0.7033 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006146/0.6775, allocations: 422.8 kB / 0.7037 GB, free: 12.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6775, allocations: 0 / 0.7037 GB, free: 12.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009027/0.6784, allocations: 319.8 kB / 0.704 GB, free: 11.91 MB / 0.545 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.002152/0.6806, allocations: 1.408 MB / 0.7053 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008988/0.6815, allocations: 384.4 kB / 0.7057 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6815, allocations: 4.062 kB / 0.7057 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.6819, allocations: 163.8 kB / 0.7059 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.6837, allocations: 361.4 kB / 0.7062 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009025/0.6928, allocations: 4.921 MB / 0.711 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.6933, allocations: 0.8673 MB / 0.7119 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007153/0.694, allocations: 201 kB / 0.7121 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.6944, allocations: 215.4 kB / 0.7123 GB, free: 3.137 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.6944, allocations: 4 kB / 0.7123 GB, free: 3.133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.7509, allocations: 22.89 MB / 0.7346 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.23, allocations: 11.86 kB / 0.7346 GB, free: 12.21 MB / 0.5762 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches