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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.00126/0.00126, allocations: 193.3 kB / 18.25 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.9 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1887/0.1887, allocations: 44.18 MB / 336.2 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.23 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09269, allocations: 60.84 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3198/0.4125, allocations: 181 MB / 0.6346 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.4181, allocations: 3.705 MB / 0.6382 GB, free: 8.199 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.4185, allocations: 23.81 kB / 0.6382 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.4193, allocations: 274.5 kB / 0.6385 GB, free: 7.906 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.4226, allocations: 1.575 MB / 0.64 GB, free: 6.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4241, allocations: 0.6555 MB / 0.6407 GB, free: 5.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4256, allocations: 1.528 MB / 0.6422 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.4261, allocations: 416.1 kB / 0.6426 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006843/0.4268, allocations: 0.5838 MB / 0.6431 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.4273, allocations: 486 kB / 0.6436 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.4274, allocations: 52 kB / 0.6437 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.4298, allocations: 1.86 MB / 0.6455 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.4299, allocations: 167.4 kB / 0.6456 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.4303, allocations: 346.5 kB / 0.646 GB, free: 264 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.4322, allocations: 1.804 MB / 0.6477 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4323, allocations: 4 kB / 0.6477 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4323, allocations: 0 / 0.6477 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.4323, allocations: 0 / 0.6477 GB, free: 14.45 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.001674/0.434, allocations: 1.079 MB / 0.6488 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.434, allocations: 12.03 kB / 0.6488 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.4341, allocations: 82.45 kB / 0.6489 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/0.4351, allocations: 139.3 kB / 0.649 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.4357, allocations: 460.5 kB / 0.6494 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4357, allocations: 29 kB / 0.6495 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.4358, allocations: 43.94 kB / 0.6495 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4369, allocations: 0.5906 MB / 0.6501 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4369, allocations: 0 / 0.6501 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.437, allocations: 24 kB / 0.6501 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.437, allocations: 8 kB / 0.6501 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.4379, allocations: 467.6 kB / 0.6506 GB, free: 11.4 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.002721/0.4406, allocations: 2.647 MB / 0.6532 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.4414, allocations: 351.4 kB / 0.6535 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.4417, allocations: 169.3 kB / 0.6536 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.4421, allocations: 433.8 kB / 0.6541 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4421, allocations: 38.84 kB / 0.6541 GB, free: 7.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.4421, allocations: 4 kB / 0.6541 GB, free: 7.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001661/0.4438, allocations: 0.7148 MB / 0.6548 GB, free: 6.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.4439, allocations: 136.5 kB / 0.6549 GB, free: 6.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.4444, allocations: 473.9 kB / 0.6554 GB, free: 6.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.4445, allocations: 33.7 kB / 0.6554 GB, free: 6.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4446, allocations: 271.8 kB / 0.6557 GB, free: 5.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4447, allocations: 122.3 kB / 0.6558 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4449, allocations: 98.11 kB / 0.6559 GB, free: 5.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.445, allocations: 354.8 kB / 0.6562 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.4454, allocations: 152.8 kB / 0.6564 GB, free: 5.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.4458, allocations: 275.7 kB / 0.6566 GB, free: 4.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.4465, allocations: 437.6 kB / 0.657 GB, free: 4.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4465, allocations: 4 kB / 0.6571 GB, free: 4.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009748/0.4475, allocations: 0.5407 MB / 0.6576 GB, free: 3.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4475, allocations: 11.97 kB / 0.6576 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4475, allocations: 4 kB / 0.6576 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.4491, allocations: 232.5 kB / 0.6578 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.4495, allocations: 107.8 kB / 0.6579 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004058/0.4499, allocations: 0.5845 MB / 0.6585 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.4503, allocations: 71.47 kB / 0.6586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.4503, allocations: 47.98 kB / 0.6586 GB, free: 2.602 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.0002178/0.4506, allocations: 181.6 kB / 0.6588 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4507, allocations: 51.44 kB / 0.6588 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4526, allocations: 1.08 MB / 0.6599 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4527, allocations: 8 kB / 0.6599 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4527, allocations: 0 / 0.6599 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4527, allocations: 0 / 0.6599 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.4541, allocations: 1.007 MB / 0.6609 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4541, allocations: 3.938 kB / 0.6609 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.4543, allocations: 51.97 kB / 0.6609 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/0.4576, allocations: 436.2 kB / 0.6613 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4577, allocations: 19.91 kB / 0.6614 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003983/0.4581, allocations: 0.6037 MB / 0.662 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4581, allocations: 0 / 0.662 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.4589, allocations: 0.5077 MB / 0.6624 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.459, allocations: 136.3 kB / 0.6626 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.4591, allocations: 11.94 kB / 0.6626 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.4595, allocations: 35.97 kB / 0.6626 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4596, allocations: 29.41 kB / 0.6626 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.4596, allocations: 15.98 kB / 0.6627 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004571/0.4601, allocations: 398.8 kB / 0.663 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4601, allocations: 0 / 0.663 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000861/0.4609, allocations: 331.7 kB / 0.6634 GB, free: 13.54 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.0019/0.4629, allocations: 1.377 MB / 0.6647 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008347/0.4637, allocations: 392.3 kB / 0.6651 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4637, allocations: 0 / 0.6651 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.4641, allocations: 176.9 kB / 0.6652 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.4657, allocations: 370.5 kB / 0.6656 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.4722, allocations: 5.063 MB / 0.6705 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4726, allocations: 0.8557 MB / 0.6714 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001186/0.4738, allocations: 0.5553 MB / 0.6719 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.4742, allocations: 227.3 kB / 0.6721 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4742, allocations: 0 / 0.6721 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4801/0.9543, allocations: 22.55 MB / 0.6942 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.9546, allocations: 297 kB / 0.6944 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.439, allocations: 0 / 0.6944 GB, free: 13.7 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches