Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.0009896/0.0009896, 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.001236/0.001236, allocations: 170 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.8628/0.8628, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.924e-05, allocations: 4.25 kB / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2899/0.2899, allocations: 161.6 MB / 0.5871 GB, free: 2.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.2941, allocations: 3.401 MB / 0.5904 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.2946, allocations: 27.81 kB / 0.5905 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.2955, allocations: 313.7 kB / 0.5908 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2998, allocations: 1.792 MB / 0.5925 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3013, allocations: 0.7336 MB / 0.5932 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3028, allocations: 1.551 MB / 0.5947 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.3033, allocations: 360.5 kB / 0.5951 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009026/0.3042, allocations: 0.7986 MB / 0.5959 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.3047, allocations: 406.8 kB / 0.5963 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.3048, allocations: 48 kB / 0.5963 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3072, allocations: 1.142 MB / 0.5974 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.3074, allocations: 167.4 kB / 0.5976 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.3077, allocations: 251.4 kB / 0.5978 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.3102, allocations: 1.73 MB / 0.5995 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3102, allocations: 5.484 kB / 0.5995 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3102, allocations: 3.938 kB / 0.5995 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.3102, allocations: 0 / 0.5995 GB, free: 6.129 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.001599/0.3118, allocations: 1.021 MB / 0.6005 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3119, allocations: 12.03 kB / 0.6005 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/0.312, allocations: 86.52 kB / 0.6006 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.3125, allocations: 143.5 kB / 0.6007 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.3131, allocations: 422.1 kB / 0.6011 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3132, allocations: 29 kB / 0.6012 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.3132, allocations: 44 kB / 0.6012 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.314, allocations: 0.8956 MB / 0.6021 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.314, allocations: 0 / 0.6021 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.314, allocations: 24 kB / 0.6021 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.314, allocations: 8 kB / 0.6021 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.3146, allocations: 471.6 kB / 0.6026 GB, free: 2.816 MB / 0.4948 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.002028/0.3166, allocations: 1.953 MB / 0.6045 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.3171, allocations: 317.3 kB / 0.6048 GB, free: 484 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3172, allocations: 157.4 kB / 0.6049 GB, free: 324 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.3174, allocations: 52.25 kB / 0.605 GB, free: 272 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3174, allocations: 38.84 kB / 0.605 GB, free: 224 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3174, allocations: 4 kB / 0.605 GB, free: 220 kB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001026/0.3185, allocations: 0.6397 MB / 0.6056 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.3185, allocations: 132.5 kB / 0.6058 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.319, allocations: 477.9 kB / 0.6062 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.319, allocations: 37.64 kB / 0.6063 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3192, allocations: 276.3 kB / 0.6065 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.3192, allocations: 122.9 kB / 0.6066 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3193, allocations: 102.2 kB / 0.6067 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.3194, allocations: 362.8 kB / 0.6071 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.3196, allocations: 140.9 kB / 0.6072 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.3199, allocations: 361.4 kB / 0.6076 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.3203, allocations: 437.6 kB / 0.608 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3203, allocations: 0 / 0.608 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005901/0.3209, allocations: 0.5332 MB / 0.6085 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3209, allocations: 12.06 kB / 0.6085 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3209, allocations: 0 / 0.6085 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.3217, allocations: 252.5 kB / 0.6088 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3219, allocations: 103.8 kB / 0.6089 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003314/0.3222, allocations: 0.5908 MB / 0.6094 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3224, allocations: 43.67 kB / 0.6095 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.3224, allocations: 49.11 kB / 0.6095 GB, free: 11.38 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.0001687/0.3226, allocations: 190.8 kB / 0.6097 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.3226, allocations: 55.67 kB / 0.6098 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3238, allocations: 1.086 MB / 0.6108 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3238, allocations: 4 kB / 0.6108 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3238, allocations: 0 / 0.6108 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3238, allocations: 3.984 kB / 0.6108 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/0.3246, allocations: 0.9162 MB / 0.6117 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3246, allocations: 0 / 0.6117 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3247, allocations: 55.91 kB / 0.6118 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.326, allocations: 436.4 kB / 0.6122 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.326, allocations: 8 kB / 0.6122 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002739/0.3263, allocations: 0.603 MB / 0.6128 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3263, allocations: 8.094 kB / 0.6128 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.3269, allocations: 0.5001 MB / 0.6133 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.327, allocations: 59.59 kB / 0.6133 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.327, allocations: 13.33 kB / 0.6134 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3272, allocations: 15.98 kB / 0.6134 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3273, allocations: 27.95 kB / 0.6134 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3273, allocations: 19.98 kB / 0.6134 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003014/0.3276, allocations: 402.8 kB / 0.6138 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 4 kB / 0.6138 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006786/0.3283, allocations: 346.9 kB / 0.6141 GB, free: 6.5 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.001226/0.3295, allocations: 1.406 MB / 0.6155 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.33, allocations: 353.6 kB / 0.6158 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.33, allocations: 4 kB / 0.6158 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3302, allocations: 159.8 kB / 0.616 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.3311, allocations: 374.7 kB / 0.6164 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.3353, allocations: 4.821 MB / 0.6211 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3354, allocations: 255.3 kB / 0.6213 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006034/0.336, allocations: 0.5606 MB / 0.6219 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3362, allocations: 228.4 kB / 0.6221 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.3362, allocations: 0 / 0.6221 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1958/0.532, allocations: 25.04 MB / 0.6465 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.808, allocations: 11.41 kB / 0.6465 GB, free: 163.4 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.82017688639462]