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.001077/0.001077, allocations: 104.3 kB / 16.4 MB, free: 6.477 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.001122/0.001122, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.205/0.205, allocations: 43.53 MB / 314.1 MB, free: 476 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.001467/0.001468, allocations: 75.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4615/0.5676, allocations: 190 MB / 0.673 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007832/0.5755, allocations: 5.708 MB / 0.6785 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.5761, allocations: 15.94 kB / 0.6786 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009278/0.5771, allocations: 321.8 kB / 0.6789 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.5811, allocations: 1.63 MB / 0.6805 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.5829, allocations: 0.7263 MB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.5847, allocations: 1.544 MB / 0.6827 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/0.5853, allocations: 427.5 kB / 0.6831 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.5861, allocations: 0.5916 MB / 0.6837 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.5866, allocations: 462.1 kB / 0.6841 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.5867, allocations: 48 kB / 0.6841 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.5892, allocations: 1.408 MB / 0.6855 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.5893, allocations: 159.5 kB / 0.6857 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.5897, allocations: 342.5 kB / 0.686 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5918, allocations: 1.621 MB / 0.6876 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5918, allocations: 0 / 0.6876 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5918, allocations: 4 kB / 0.6876 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5918, allocations: 0 / 0.6876 GB, free: 13.77 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.001791/0.5936, allocations: 1.087 MB / 0.6886 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5936, allocations: 15.89 kB / 0.6887 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.5937, allocations: 82.52 kB / 0.6887 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009695/0.5947, allocations: 139.2 kB / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.5955, allocations: 0.4926 MB / 0.6894 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.5955, allocations: 34.62 kB / 0.6894 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.5956, allocations: 40 kB / 0.6894 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/0.5966, allocations: 0.595 MB / 0.69 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5966, allocations: 4 kB / 0.69 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.5967, allocations: 16 kB / 0.69 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5967, allocations: 12 kB / 0.69 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.5975, allocations: 487.5 kB / 0.6905 GB, free: 10.65 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.002773/0.6003, allocations: 2.686 MB / 0.6931 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.601, allocations: 350.1 kB / 0.6935 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.6013, allocations: 169.3 kB / 0.6936 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.6025, allocations: 1.32 MB / 0.6949 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6026, allocations: 34.84 kB / 0.6949 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.6026, allocations: 0 / 0.6949 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001581/0.6041, allocations: 0.7221 MB / 0.6956 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.6042, allocations: 136.5 kB / 0.6958 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.6048, allocations: 498 kB / 0.6963 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.6048, allocations: 29.7 kB / 0.6963 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.605, allocations: 287.8 kB / 0.6966 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.357e-05/0.6051, allocations: 114.2 kB / 0.6967 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6053, allocations: 106 kB / 0.6968 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6054, allocations: 366.8 kB / 0.6971 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.6057, allocations: 148.8 kB / 0.6973 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.6061, allocations: 279.7 kB / 0.6975 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.6068, allocations: 445.6 kB / 0.6979 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6068, allocations: 0 / 0.6979 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009739/0.6078, allocations: 0.5443 MB / 0.6985 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6078, allocations: 4 kB / 0.6985 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6079, allocations: 4 kB / 0.6985 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.6094, allocations: 237.6 kB / 0.6987 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.6098, allocations: 107.8 kB / 0.6988 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.6103, allocations: 0.5952 MB / 0.6994 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.6106, allocations: 51.52 kB / 0.6994 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.6106, allocations: 44.86 kB / 0.6995 GB, free: 0.75 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.0002274/0.6109, allocations: 185.6 kB / 0.6997 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.611, allocations: 55.34 kB / 0.6997 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.6124, allocations: 0.73 MB / 0.7004 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.6124, allocations: 4 kB / 0.7004 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6124, allocations: 0 / 0.7004 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6124, allocations: 7.922 kB / 0.7004 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.6138, allocations: 1.038 MB / 0.7015 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6138, allocations: 4 kB / 0.7015 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.614, allocations: 55.84 kB / 0.7015 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.6173, allocations: 444.4 kB / 0.7019 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.6173, allocations: 8 kB / 0.7019 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004147/0.6177, allocations: 0.6108 MB / 0.7025 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6177, allocations: 0 / 0.7025 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.6185, allocations: 0.5197 MB / 0.703 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.6187, allocations: 136.3 kB / 0.7032 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.6188, allocations: 11.91 kB / 0.7032 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.6191, allocations: 23.98 kB / 0.7032 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.6192, allocations: 31.89 kB / 0.7032 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.6192, allocations: 16.05 kB / 0.7033 GB, free: 12.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004711/0.6197, allocations: 422.8 kB / 0.7037 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6197, allocations: 0 / 0.7037 GB, free: 12.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008719/0.6205, allocations: 315.8 kB / 0.704 GB, free: 11.97 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.001802/0.6224, allocations: 1.408 MB / 0.7053 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.6232, allocations: 380.3 kB / 0.7057 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6232, allocations: 4.125 kB / 0.7057 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.6235, allocations: 163.8 kB / 0.7059 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.6251, allocations: 369.2 kB / 0.7062 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.631, allocations: 4.921 MB / 0.711 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.6314, allocations: 0.8596 MB / 0.7119 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006132/0.632, allocations: 205 kB / 0.7121 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.6323, allocations: 215.4 kB / 0.7123 GB, free: 3.199 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6323, allocations: 4 kB / 0.7123 GB, free: 3.195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.6767, allocations: 22.89 MB / 0.7346 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.72, allocations: 7.859 kB / 0.7346 GB, free: 12.28 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