Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008635/0.0008635, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009232/0.0009232, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.8516/0.8516, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2412/0.2412, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.45e-05, allocations: 5.234 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.318/0.3181, allocations: 161.6 MB / 0.5897 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.3221, allocations: 3.402 MB / 0.593 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.3223, allocations: 23.75 kB / 0.593 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.323, allocations: 305.8 kB / 0.5933 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.3254, allocations: 1.786 MB / 0.595 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3264, allocations: 0.7498 MB / 0.5958 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3276, allocations: 1.555 MB / 0.5973 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.3279, allocations: 344.6 kB / 0.5976 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3286, allocations: 0.7986 MB / 0.5984 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.3289, allocations: 414.8 kB / 0.5988 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.329, allocations: 52 kB / 0.5988 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.3302, allocations: 1.142 MB / 0.6 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3303, allocations: 163.4 kB / 0.6001 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3305, allocations: 253 kB / 0.6004 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3319, allocations: 1.73 MB / 0.602 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3319, allocations: 0 / 0.602 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3319, allocations: 0 / 0.602 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3319, allocations: 8 kB / 0.602 GB, free: 2.184 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.001211/0.3331, allocations: 1.025 MB / 0.603 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3332, allocations: 11.97 kB / 0.6031 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.3333, allocations: 78.53 kB / 0.6031 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.3341, allocations: 151.5 kB / 0.6033 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.3346, allocations: 410.3 kB / 0.6037 GB, free: 460 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3346, allocations: 32.94 kB / 0.6037 GB, free: 428 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3346, allocations: 44 kB / 0.6037 GB, free: 384 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.3354, allocations: 0.8956 MB / 0.6046 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3354, allocations: 0 / 0.6046 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.3354, allocations: 24 kB / 0.6046 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3354, allocations: 14.34 kB / 0.6047 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.336, allocations: 467.6 kB / 0.6051 GB, free: 14.88 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.001621/0.3376, allocations: 1.947 MB / 0.607 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.338, allocations: 319.5 kB / 0.6073 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3382, allocations: 157.3 kB / 0.6075 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.3384, allocations: 48.23 kB / 0.6075 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3384, allocations: 42.47 kB / 0.6075 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.3384, allocations: 0 / 0.6075 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009902/0.3394, allocations: 0.6523 MB / 0.6082 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3394, allocations: 132.5 kB / 0.6083 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3398, allocations: 469.9 kB / 0.6088 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3398, allocations: 29.7 kB / 0.6088 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3399, allocations: 292.2 kB / 0.6091 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.34, allocations: 115 kB / 0.6092 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.3401, allocations: 102.2 kB / 0.6093 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.3402, allocations: 354.8 kB / 0.6096 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3404, allocations: 152.9 kB / 0.6098 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3406, allocations: 357.4 kB / 0.6101 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.3413, allocations: 428.8 kB / 0.6105 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3413, allocations: 4 kB / 0.6105 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005965/0.3419, allocations: 0.5406 MB / 0.611 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3419, allocations: 9.875 kB / 0.611 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.342, allocations: 11.88 kB / 0.6111 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.3427, allocations: 241 kB / 0.6113 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3429, allocations: 111.8 kB / 0.6114 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/0.3432, allocations: 0.5849 MB / 0.612 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3433, allocations: 55.59 kB / 0.612 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.3434, allocations: 47.98 kB / 0.6121 GB, free: 7.426 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.0001592/0.3435, allocations: 184.1 kB / 0.6122 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.3436, allocations: 55.67 kB / 0.6123 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3447, allocations: 1.087 MB / 0.6134 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3447, allocations: 4 kB / 0.6134 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3447, allocations: 0 / 0.6134 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3447, allocations: 3.984 kB / 0.6134 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.3455, allocations: 0.9162 MB / 0.6143 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3455, allocations: 0 / 0.6143 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3457, allocations: 56.06 kB / 0.6143 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.347, allocations: 432.2 kB / 0.6147 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.347, allocations: 15.92 kB / 0.6147 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002767/0.3473, allocations: 0.6039 MB / 0.6153 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3473, allocations: 4.031 kB / 0.6153 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.3478, allocations: 0.5001 MB / 0.6158 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3478, allocations: 63.66 kB / 0.6159 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3479, allocations: 15.89 kB / 0.6159 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.348, allocations: 15.98 kB / 0.6159 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3481, allocations: 27.95 kB / 0.6159 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3481, allocations: 19.88 kB / 0.616 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003057/0.3484, allocations: 398.8 kB / 0.6163 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 3.938 kB / 0.6163 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005443/0.349, allocations: 350.9 kB / 0.6167 GB, free: 2.555 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.001402/0.3504, allocations: 1.398 MB / 0.618 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.3509, allocations: 356.6 kB / 0.6184 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3509, allocations: 0 / 0.6184 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.351, allocations: 156.7 kB / 0.6185 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008941/0.3519, allocations: 372.2 kB / 0.6189 GB, free: 268 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.356, allocations: 4.827 MB / 0.6236 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3562, allocations: 255.3 kB / 0.6238 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007346/0.3569, allocations: 0.5567 MB / 0.6244 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.3571, allocations: 224.4 kB / 0.6246 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.3571, allocations: 0 / 0.6246 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/0.5303, allocations: 25.06 MB / 0.6491 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.837, allocations: 6.484 kB / 0.6491 GB, free: 164 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.803856624290347]