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.00113/0.00113, allocations: 105.5 kB / 15.98 MB, free: 5.859 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.001601/0.001601, allocations: 193.3 kB / 16.9 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.331/2.331, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.5872/0.5872, allocations: 43.5 MB / 313.6 MB, free: 8.586 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.001703/0.001703, allocations: 67.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2291, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.8068/1.036, allocations: 188 MB / 0.6134 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/1.049, allocations: 6.124 MB / 0.6193 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/1.051, allocations: 19.88 kB / 0.6194 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/1.053, allocations: 274.5 kB / 0.6196 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007639/1.06, allocations: 1.786 MB / 0.6214 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/1.063, allocations: 0.6632 MB / 0.622 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/1.066, allocations: 1.52 MB / 0.6235 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/1.067, allocations: 418 kB / 0.6239 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/1.069, allocations: 0.5799 MB / 0.6245 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/1.069, allocations: 494 kB / 0.6249 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/1.069, allocations: 52 kB / 0.625 GB, free: 4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/1.074, allocations: 2.024 MB / 0.627 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/1.074, allocations: 159.4 kB / 0.6271 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004407/1.075, allocations: 350.5 kB / 0.6275 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6277/1.703, allocations: 1.914 MB / 0.6293 GB, free: 7.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/1.703, allocations: 1.062 kB / 0.6293 GB, free: 7.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.557e-06/1.703, allocations: 0.5625 kB / 0.6293 GB, free: 7.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/1.703, allocations: 0 / 0.6293 GB, free: 7.336 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.0034/1.706, allocations: 1.111 MB / 0.6304 GB, free: 6.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.391e-05/1.706, allocations: 15.78 kB / 0.6304 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/1.706, allocations: 83.8 kB / 0.6305 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.708, allocations: 139.6 kB / 0.6306 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/1.709, allocations: 465.1 kB / 0.6311 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/1.709, allocations: 34.56 kB / 0.6311 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/1.709, allocations: 38.38 kB / 0.6311 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/1.71, allocations: 0.5879 MB / 0.6317 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.71, allocations: 2.75 kB / 0.6317 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/1.71, allocations: 20.22 kB / 0.6317 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/1.71, allocations: 12.12 kB / 0.6318 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/1.711, allocations: 471 kB / 0.6322 GB, free: 6.371 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.003779/1.715, allocations: 2.678 MB / 0.6348 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/1.716, allocations: 338.9 kB / 0.6351 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/1.717, allocations: 170.2 kB / 0.6353 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/1.718, allocations: 1.308 MB / 0.6366 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.718, allocations: 38.69 kB / 0.6366 GB, free: 3.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/1.718, allocations: 3.641 kB / 0.6366 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002326/1.72, allocations: 0.7005 MB / 0.6373 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.721, allocations: 133.6 kB / 0.6374 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/1.721, allocations: 471.3 kB / 0.6379 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/1.721, allocations: 30.86 kB / 0.6379 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.722, allocations: 283.9 kB / 0.6382 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.722, allocations: 113.5 kB / 0.6383 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.722, allocations: 105 kB / 0.6384 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003172/1.722, allocations: 360.5 kB / 0.6387 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/1.723, allocations: 147.4 kB / 0.6389 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/1.723, allocations: 279.5 kB / 0.6391 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/1.724, allocations: 439.4 kB / 0.6396 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.724, allocations: 0.875 kB / 0.6396 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001119/1.725, allocations: 0.5274 MB / 0.6401 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.725, allocations: 9.562 kB / 0.6401 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.725, allocations: 3.219 kB / 0.6401 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/1.727, allocations: 235.1 kB / 0.6403 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/1.727, allocations: 105.8 kB / 0.6404 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006124/1.728, allocations: 0.5925 MB / 0.641 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/1.728, allocations: 62.06 kB / 0.6411 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.729, allocations: 49.11 kB / 0.6411 GB, free: 17.47 MB / 0.4981 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.0003055/1.729, allocations: 184.3 kB / 0.6413 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/1.729, allocations: 52.41 kB / 0.6413 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.731, allocations: 0.7297 MB / 0.642 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.731, allocations: 5 kB / 0.642 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.731, allocations: 0 / 0.642 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.731, allocations: 2.578 kB / 0.642 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.733, allocations: 1.006 MB / 0.643 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.733, allocations: 3.75 kB / 0.643 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/1.733, allocations: 52.11 kB / 0.6431 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/1.736, allocations: 435.9 kB / 0.6435 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/1.736, allocations: 11.19 kB / 0.6435 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/1.737, allocations: 0.5984 MB / 0.6441 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.737, allocations: 7.891 kB / 0.6441 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.738, allocations: 0.5019 MB / 0.6446 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/1.738, allocations: 139.2 kB / 0.6447 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.738, allocations: 13.17 kB / 0.6447 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/1.739, allocations: 38.28 kB / 0.6448 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.739, allocations: 33.56 kB / 0.6448 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/1.739, allocations: 15.98 kB / 0.6448 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006774/1.74, allocations: 398.4 kB / 0.6452 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.74, allocations: 0 / 0.6452 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001556/1.741, allocations: 364.9 kB / 0.6455 GB, free: 15.82 MB / 0.4981 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.003025/1.744, allocations: 1.452 MB / 0.647 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.746, allocations: 386.7 kB / 0.6473 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/1.746, allocations: 1.812 kB / 0.6473 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000439/1.746, allocations: 171.3 kB / 0.6475 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.748, allocations: 366.7 kB / 0.6478 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009948/1.758, allocations: 5.098 MB / 0.6528 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/1.759, allocations: 0.855 MB / 0.6537 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001255/1.76, allocations: 203.8 kB / 0.6539 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/1.76, allocations: 214.5 kB / 0.6541 GB, free: 12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.525e-06/1.76, allocations: 0.8125 kB / 0.6541 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08489/1.845, allocations: 23.56 MB / 0.6771 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004376/1.846, allocations: 289.3 kB / 0.6773 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.903, allocations: 2.75 kB / 0.6774 GB, free: 6.164 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