Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001439/0.001439, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.00169, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 77.75 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1006, allocations: 62.44 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3156/0.4163, allocations: 183.9 MB / 0.648 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.4212, allocations: 3.721 MB / 0.6516 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.4217, allocations: 23.81 kB / 0.6517 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007394/0.4225, allocations: 278.5 kB / 0.6519 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.4257, allocations: 1.582 MB / 0.6535 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4272, allocations: 0.6604 MB / 0.6541 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.4287, allocations: 1.524 MB / 0.6556 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.4292, allocations: 419.5 kB / 0.656 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.43, allocations: 0.5838 MB / 0.6566 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.4305, allocations: 486.1 kB / 0.657 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.4306, allocations: 52 kB / 0.6571 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.4329, allocations: 1.89 MB / 0.6589 GB, free: 360 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.433, allocations: 159.4 kB / 0.6591 GB, free: 200 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.4334, allocations: 350.6 kB / 0.6594 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.4354, allocations: 1.816 MB / 0.6612 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4354, allocations: 4 kB / 0.6612 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4354, allocations: 7.984 kB / 0.6612 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.4354, allocations: 0 / 0.6612 GB, free: 14.02 MB / 0.4981 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.001689/0.4371, allocations: 1.087 MB / 0.6623 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4371, allocations: 11.97 kB / 0.6623 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.576e-05/0.4372, allocations: 78.53 kB / 0.6623 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009367/0.4382, allocations: 139.3 kB / 0.6625 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4387, allocations: 460.5 kB / 0.6629 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4387, allocations: 29 kB / 0.6629 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.4388, allocations: 43.94 kB / 0.663 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.4398, allocations: 0.5906 MB / 0.6636 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4398, allocations: 3.938 kB / 0.6636 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.4398, allocations: 20 kB / 0.6636 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4399, allocations: 12 kB / 0.6636 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.4407, allocations: 471.6 kB / 0.664 GB, free: 10.96 MB / 0.4981 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.002475/0.4432, allocations: 2.647 MB / 0.6666 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.4438, allocations: 354 kB / 0.667 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.4441, allocations: 169.3 kB / 0.6671 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.4444, allocations: 433.9 kB / 0.6675 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4445, allocations: 38.84 kB / 0.6676 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.4445, allocations: 0 / 0.6676 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001499/0.446, allocations: 0.7109 MB / 0.6683 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.4461, allocations: 140.5 kB / 0.6684 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.4465, allocations: 473.9 kB / 0.6689 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4465, allocations: 33.7 kB / 0.6689 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4467, allocations: 275.8 kB / 0.6692 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.4468, allocations: 114.3 kB / 0.6693 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4469, allocations: 102.1 kB / 0.6694 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4471, allocations: 358.8 kB / 0.6697 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.4473, allocations: 144.8 kB / 0.6698 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.4477, allocations: 283.7 kB / 0.6701 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.4483, allocations: 433.6 kB / 0.6705 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4484, allocations: 0 / 0.6705 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008993/0.4493, allocations: 0.5364 MB / 0.6711 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4493, allocations: 11.94 kB / 0.6711 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4493, allocations: 4.438 kB / 0.6711 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.4507, allocations: 240.5 kB / 0.6713 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.4511, allocations: 107.8 kB / 0.6714 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/0.4514, allocations: 0.5848 MB / 0.672 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4518, allocations: 67.48 kB / 0.672 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.4518, allocations: 47.98 kB / 0.6721 GB, free: 2.168 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.0001981/0.452, allocations: 185.6 kB / 0.6723 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4522, allocations: 51.44 kB / 0.6723 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.4539, allocations: 1.084 MB / 0.6734 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.454, allocations: 4 kB / 0.6734 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.454, allocations: 0 / 0.6734 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.454, allocations: 0 / 0.6734 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.4552, allocations: 1.003 MB / 0.6743 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4552, allocations: 7.938 kB / 0.6744 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4554, allocations: 56.06 kB / 0.6744 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.4584, allocations: 440.1 kB / 0.6748 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4585, allocations: 8 kB / 0.6748 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003512/0.4588, allocations: 0.6039 MB / 0.6754 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4588, allocations: 4.031 kB / 0.6754 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.4595, allocations: 0.5044 MB / 0.6759 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4596, allocations: 136.4 kB / 0.6761 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.4597, allocations: 19.94 kB / 0.6761 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.4601, allocations: 27.97 kB / 0.6761 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.4601, allocations: 33.41 kB / 0.6761 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.4602, allocations: 15.98 kB / 0.6761 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003928/0.4606, allocations: 402.8 kB / 0.6765 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4606, allocations: 0 / 0.6765 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007478/0.4613, allocations: 335.7 kB / 0.6768 GB, free: 13.09 MB / 0.5137 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.001681/0.463, allocations: 1.399 MB / 0.6782 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.4638, allocations: 388.8 kB / 0.6786 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4638, allocations: 4 kB / 0.6786 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.4641, allocations: 161 kB / 0.6787 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.4656, allocations: 368.7 kB / 0.6791 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.4712, allocations: 5.099 MB / 0.6841 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4715, allocations: 0.8555 MB / 0.6849 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001052/0.4726, allocations: 0.5667 MB / 0.6855 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.4729, allocations: 223.3 kB / 0.6857 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.4729, allocations: 0 / 0.6857 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/1.56, allocations: 22.68 MB / 0.7078 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/1.561, allocations: 295.8 kB / 0.7081 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.446/6.006, allocations: 0 / 0.7081 GB, free: 199.5 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches