Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.0009594/0.0009593, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 184.2 kB / 16.92 MB, free: 6.934 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.212/1.212, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2841/0.2841, allocations: 43.58 MB / 315 MB, free: 8.863 MB / 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.0004686/0.0004686, allocations: 12 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09909, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3405/0.4397, allocations: 185.8 MB / 0.6146 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.4477, allocations: 6.157 MB / 0.6207 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.4483, allocations: 19.81 kB / 0.6207 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.4491, allocations: 274.4 kB / 0.6209 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.4531, allocations: 1.727 MB / 0.6226 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4547, allocations: 0.64 MB / 0.6232 GB, free: 8.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.4566, allocations: 2.012 MB / 0.6252 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.4572, allocations: 367.2 kB / 0.6256 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.458, allocations: 0.5135 MB / 0.6261 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.4585, allocations: 462.1 kB / 0.6265 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.4586, allocations: 28 kB / 0.6265 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.4615, allocations: 1.973 MB / 0.6285 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4617, allocations: 143.4 kB / 0.6286 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.462, allocations: 344.2 kB / 0.6289 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.4642, allocations: 1.878 MB / 0.6308 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4642, allocations: 0 / 0.6308 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4642, allocations: 0 / 0.6308 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.4642, allocations: 0 / 0.6308 GB, free: 0.7578 MB / 494.1 MB 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.2201/0.6843, allocations: 0.9724 MB / 0.6317 GB, free: 8.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6844, allocations: 13.66 kB / 0.6317 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.6845, allocations: 84.12 kB / 0.6318 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6856, allocations: 141.3 kB / 0.6319 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6862, allocations: 473.3 kB / 0.6324 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.6862, allocations: 30.56 kB / 0.6324 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.6863, allocations: 42.88 kB / 0.6325 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/0.6872, allocations: 0.5952 MB / 0.633 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6872, allocations: 2.906 kB / 0.633 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.6873, allocations: 20.75 kB / 0.6331 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.6873, allocations: 10.69 kB / 0.6331 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.6881, allocations: 483.4 kB / 0.6335 GB, free: 8.535 MB / 494.1 MB 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.002168/0.6903, allocations: 2.678 MB / 0.6361 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.6909, allocations: 342.9 kB / 0.6365 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.6912, allocations: 182.5 kB / 0.6366 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009194/0.6921, allocations: 1.307 MB / 0.6379 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.6921, allocations: 36.84 kB / 0.638 GB, free: 5.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.6922, allocations: 4 kB / 0.638 GB, free: 5.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001464/0.6936, allocations: 0.7272 MB / 0.6387 GB, free: 5.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.6937, allocations: 134.5 kB / 0.6388 GB, free: 5.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.6941, allocations: 469.4 kB / 0.6392 GB, free: 5.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.6941, allocations: 36.78 kB / 0.6393 GB, free: 5.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.6943, allocations: 278.7 kB / 0.6395 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.6943, allocations: 112.6 kB / 0.6397 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.6944, allocations: 43.2 kB / 0.6397 GB, free: 4.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.6945, allocations: 360.3 kB / 0.64 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.6948, allocations: 151.1 kB / 0.6402 GB, free: 4.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.6951, allocations: 282 kB / 0.6404 GB, free: 4.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.6957, allocations: 457.4 kB / 0.6409 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6957, allocations: 0 / 0.6409 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008417/0.6966, allocations: 0.5402 MB / 0.6414 GB, free: 4.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.6966, allocations: 6.438 kB / 0.6414 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6966, allocations: 2.406 kB / 0.6414 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.6981, allocations: 295 kB / 0.6417 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.6985, allocations: 105.2 kB / 0.6418 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002924/0.6988, allocations: 0.5897 MB / 0.6424 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.6991, allocations: 70.17 kB / 0.6424 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.6992, allocations: 46.69 kB / 0.6425 GB, free: 3.598 MB / 494.1 MB 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.0001871/0.6994, allocations: 183.4 kB / 0.6427 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.6995, allocations: 49.19 kB / 0.6427 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.7009, allocations: 0.7366 MB / 0.6434 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.701, allocations: 4.781 kB / 0.6434 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.701, allocations: 0 / 0.6434 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.701, allocations: 2.672 kB / 0.6434 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.7021, allocations: 1.017 MB / 0.6444 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7022, allocations: 4.062 kB / 0.6444 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.7024, allocations: 56.19 kB / 0.6445 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/0.7056, allocations: 0.5338 MB / 0.645 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.7056, allocations: 8.562 kB / 0.645 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002763/0.7059, allocations: 0.6076 MB / 0.6456 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7059, allocations: 10.66 kB / 0.6456 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.7066, allocations: 0.5149 MB / 0.6461 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.7067, allocations: 166 kB / 0.6463 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.7068, allocations: 9.953 kB / 0.6463 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.7071, allocations: 48.69 kB / 0.6463 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.7072, allocations: 25.83 kB / 0.6464 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.7072, allocations: 16.72 kB / 0.6464 GB, free: 2.016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000393/0.7076, allocations: 404.7 kB / 0.6468 GB, free: 1.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7076, allocations: 0 / 0.6468 GB, free: 1.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.7085, allocations: 370.9 kB / 0.6471 GB, free: 1.918 MB / 494.1 MB 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.001992/0.7105, allocations: 1.456 MB / 0.6485 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007477/0.7113, allocations: 382.9 kB / 0.6489 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7113, allocations: 2.594 kB / 0.6489 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.7116, allocations: 175.3 kB / 0.6491 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7134, allocations: 352.8 kB / 0.6494 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.7191, allocations: 5.174 MB / 0.6545 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.7196, allocations: 0.8572 MB / 0.6553 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008547/0.7204, allocations: 200.9 kB / 0.6555 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.7208, allocations: 214.5 kB / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.7208, allocations: 0 / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07639/0.7972, allocations: 22.86 MB / 0.678 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.7974, allocations: 292.3 kB / 0.6783 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.187, allocations: 0 / 0.6783 GB, free: 7.613 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches