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.001426/0.001426, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 78.97 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1522, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5432/0.6954, allocations: 186 MB / 0.6505 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.7021, allocations: 3.662 MB / 0.6541 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.7028, allocations: 19.88 kB / 0.6541 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.7039, allocations: 317.8 kB / 0.6544 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.7084, allocations: 1.713 MB / 0.6561 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.7103, allocations: 0.7115 MB / 0.6568 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.7122, allocations: 1.531 MB / 0.6583 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.7129, allocations: 430 kB / 0.6587 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009775/0.7139, allocations: 0.58 MB / 0.6592 GB, free: 180 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.7145, allocations: 442.2 kB / 0.6596 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.7146, allocations: 48 kB / 0.6597 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/0.7193, allocations: 1.887 MB / 0.6615 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.7195, allocations: 151.5 kB / 0.6617 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.72, allocations: 346.5 kB / 0.662 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.7232, allocations: 1.812 MB / 0.6638 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.7233, allocations: 4 kB / 0.6638 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7233, allocations: 4 kB / 0.6638 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.7233, allocations: 0 / 0.6638 GB, free: 11.49 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.002264/0.7256, allocations: 1.076 MB / 0.6648 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.7256, allocations: 12.03 kB / 0.6649 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.7258, allocations: 82.52 kB / 0.6649 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.7268, allocations: 139.2 kB / 0.6651 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/0.7276, allocations: 468.4 kB / 0.6655 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.7276, allocations: 33 kB / 0.6655 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.7277, allocations: 43.94 kB / 0.6656 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.7288, allocations: 0.5984 MB / 0.6662 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7288, allocations: 0 / 0.6662 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.7289, allocations: 20 kB / 0.6662 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.7289, allocations: 8 kB / 0.6662 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.7298, allocations: 479.5 kB / 0.6667 GB, free: 8.422 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.002885/0.7327, allocations: 2.655 MB / 0.6692 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.7334, allocations: 340.7 kB / 0.6696 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.7337, allocations: 165.3 kB / 0.6697 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.7342, allocations: 449.8 kB / 0.6702 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.7343, allocations: 34.84 kB / 0.6702 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.7343, allocations: 0 / 0.6702 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001693/0.736, allocations: 0.7148 MB / 0.6709 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.7361, allocations: 132.5 kB / 0.671 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.7367, allocations: 470 kB / 0.6715 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.7367, allocations: 33.7 kB / 0.6715 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.7369, allocations: 275.7 kB / 0.6718 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.737, allocations: 118.3 kB / 0.6719 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.7372, allocations: 110 kB / 0.672 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7373, allocations: 358.8 kB / 0.6723 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.7376, allocations: 144.8 kB / 0.6725 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.738, allocations: 275.7 kB / 0.6727 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.7387, allocations: 433.6 kB / 0.6731 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7387, allocations: 4 kB / 0.6731 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009774/0.7397, allocations: 0.548 MB / 0.6737 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7398, allocations: 11.94 kB / 0.6737 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7398, allocations: 4 kB / 0.6737 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.7413, allocations: 229 kB / 0.6739 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7417, allocations: 103.9 kB / 0.674 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000453/0.7421, allocations: 0.5939 MB / 0.6746 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.7424, allocations: 47.52 kB / 0.6746 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.7425, allocations: 47.98 kB / 0.6747 GB, free: 15.64 MB / 0.5137 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.0002511/0.7428, allocations: 181.7 kB / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7429, allocations: 59.33 kB / 0.6749 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.7449, allocations: 1.072 MB / 0.676 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7449, allocations: 4 kB / 0.676 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7449, allocations: 0 / 0.676 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.745, allocations: 11.94 kB / 0.676 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.7464, allocations: 1.003 MB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.7464, allocations: 0 / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.7466, allocations: 60.06 kB / 0.677 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.7497, allocations: 436.1 kB / 0.6774 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.7497, allocations: 19.98 kB / 0.6774 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/0.7502, allocations: 0.5953 MB / 0.678 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7502, allocations: 8 kB / 0.678 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.751, allocations: 0.5076 MB / 0.6785 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.7512, allocations: 136.4 kB / 0.6787 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.7513, allocations: 15.84 kB / 0.6787 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.7516, allocations: 15.98 kB / 0.6787 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.7517, allocations: 31.84 kB / 0.6787 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.7517, allocations: 19.98 kB / 0.6787 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004643/0.7522, allocations: 398.8 kB / 0.6791 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7522, allocations: 4 kB / 0.6791 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001056/0.7532, allocations: 335.7 kB / 0.6794 GB, free: 10.56 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.001903/0.7552, allocations: 1.384 MB / 0.6808 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008685/0.756, allocations: 388.4 kB / 0.6812 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.756, allocations: 4 kB / 0.6812 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.7564, allocations: 167.8 kB / 0.6813 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.758, allocations: 377.2 kB / 0.6817 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.7642, allocations: 4.934 MB / 0.6865 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.7647, allocations: 0.8595 MB / 0.6873 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001263/0.766, allocations: 0.5473 MB / 0.6879 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.7664, allocations: 227.3 kB / 0.6881 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.7664, allocations: 0 / 0.6881 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/1.063, allocations: 22.89 MB / 0.7104 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/12.04, allocations: 10.25 kB / 0.7105 GB, free: 199.2 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