Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8974/0.8974, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.996e-05, allocations: 4.25 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2809/0.2809, allocations: 161.6 MB / 0.5897 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.2841, allocations: 3.041 MB / 0.5926 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2843, allocations: 23.81 kB / 0.5926 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.2849, allocations: 317.7 kB / 0.593 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.2868, allocations: 1.457 MB / 0.5944 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009067/0.2877, allocations: 0.765 MB / 0.5951 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009868/0.2887, allocations: 1.592 MB / 0.5967 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.289, allocations: 348 kB / 0.597 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.2896, allocations: 0.8064 MB / 0.5978 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.2899, allocations: 422.7 kB / 0.5982 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.29, allocations: 48 kB / 0.5982 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008794/0.2909, allocations: 0.9046 MB / 0.5991 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.291, allocations: 171.3 kB / 0.5993 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.2913, allocations: 251.5 kB / 0.5995 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2924, allocations: 1.539 MB / 0.601 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2924, allocations: 0 / 0.601 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2924, allocations: 0 / 0.601 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2924, allocations: 5.5 kB / 0.601 GB, free: 3.234 MB / 0.4948 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.001131/0.2936, allocations: 0.9998 MB / 0.602 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2936, allocations: 8.031 kB / 0.602 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.413e-05/0.2937, allocations: 86.52 kB / 0.6021 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/0.2942, allocations: 139.5 kB / 0.6022 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.2947, allocations: 442.1 kB / 0.6027 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2948, allocations: 33 kB / 0.6027 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.2948, allocations: 40 kB / 0.6027 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.2956, allocations: 0.8996 MB / 0.6036 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2956, allocations: 7.875 kB / 0.6036 GB, free: 424 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2956, allocations: 27.98 kB / 0.6036 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.2956, allocations: 12 kB / 0.6037 GB, free: 384 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.2962, allocations: 475.6 kB / 0.6041 GB, free: 15.91 MB / 0.5105 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.00159/0.2978, allocations: 1.967 MB / 0.606 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.2983, allocations: 331.5 kB / 0.6063 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.2985, allocations: 163.1 kB / 0.6065 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.2986, allocations: 48.23 kB / 0.6065 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2987, allocations: 38.84 kB / 0.6066 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.2987, allocations: 0 / 0.6066 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009773/0.2996, allocations: 0.6601 MB / 0.6072 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.2997, allocations: 136.5 kB / 0.6074 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.3001, allocations: 0.498 MB / 0.6078 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3001, allocations: 33.7 kB / 0.6079 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3002, allocations: 280.2 kB / 0.6081 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.3003, allocations: 123 kB / 0.6083 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3004, allocations: 102.1 kB / 0.6084 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3005, allocations: 362.8 kB / 0.6087 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3007, allocations: 156.9 kB / 0.6089 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.301, allocations: 353.5 kB / 0.6092 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.3014, allocations: 440.7 kB / 0.6096 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3014, allocations: 4 kB / 0.6096 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006054/0.302, allocations: 0.5445 MB / 0.6101 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.302, allocations: 8 kB / 0.6102 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.302, allocations: 7.938 kB / 0.6102 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.3028, allocations: 241 kB / 0.6104 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3029, allocations: 103.9 kB / 0.6105 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003072/0.3032, allocations: 0.6032 MB / 0.6111 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3034, allocations: 51.55 kB / 0.6111 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.3034, allocations: 44 kB / 0.6112 GB, free: 8.355 MB / 0.5105 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.0001635/0.3036, allocations: 200 kB / 0.6114 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.3037, allocations: 57.08 kB / 0.6114 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.3048, allocations: 1.093 MB / 0.6125 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3048, allocations: 3.984 kB / 0.6125 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3048, allocations: 0 / 0.6125 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3048, allocations: 4 kB / 0.6125 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.3058, allocations: 0.9318 MB / 0.6134 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3058, allocations: 4 kB / 0.6134 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3059, allocations: 60.06 kB / 0.6135 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.3072, allocations: 436.2 kB / 0.6139 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3073, allocations: 19.91 kB / 0.6139 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002715/0.3075, allocations: 0.6123 MB / 0.6145 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3075, allocations: 4.906 kB / 0.6145 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.308, allocations: 0.5079 MB / 0.615 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.3081, allocations: 63.61 kB / 0.6151 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.3081, allocations: 11.94 kB / 0.6151 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3083, allocations: 23.98 kB / 0.6151 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.3083, allocations: 23.95 kB / 0.6151 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3083, allocations: 12 kB / 0.6151 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003146/0.3086, allocations: 426.8 kB / 0.6155 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3086, allocations: 0 / 0.6155 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004678/0.3091, allocations: 287.3 kB / 0.6158 GB, free: 3.457 MB / 0.5105 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.001086/0.3102, allocations: 1.334 MB / 0.6171 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3107, allocations: 372.6 kB / 0.6175 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3107, allocations: 0 / 0.6175 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3109, allocations: 157 kB / 0.6176 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.3118, allocations: 367.6 kB / 0.618 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.316, allocations: 4.95 MB / 0.6228 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3162, allocations: 259.5 kB / 0.623 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006033/0.3168, allocations: 0.5553 MB / 0.6236 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.317, allocations: 232.4 kB / 0.6238 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of SimCode: time 4.6e-07/0.317, allocations: 0 / 0.6238 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/0.4861, allocations: 23.53 MB / 0.6468 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.745, allocations: 3.984 kB / 0.6468 GB, free: 162.9 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.807588027790189]