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.001923/0.001923, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.002268/0.002268, allocations: 183.9 kB / 18.71 MB, free: 4.367 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2018/0.2018, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3249, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1866/0.5115, allocations: 183 MB / 0.6972 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.5169, allocations: 3.611 MB / 0.7007 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.5174, allocations: 19.88 kB / 0.7007 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.5183, allocations: 317.8 kB / 0.701 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.5219, allocations: 1.702 MB / 0.7027 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.5236, allocations: 0.728 MB / 0.7034 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.5253, allocations: 1.524 MB / 0.7049 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.5258, allocations: 435.5 kB / 0.7053 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.5266, allocations: 0.5838 MB / 0.7059 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.5272, allocations: 450.2 kB / 0.7063 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.5273, allocations: 48 kB / 0.7063 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.5304, allocations: 1.899 MB / 0.7082 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.5306, allocations: 155.5 kB / 0.7084 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.531, allocations: 342.5 kB / 0.7087 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.5335, allocations: 1.796 MB / 0.7104 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5335, allocations: 0 / 0.7104 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5335, allocations: 7.984 kB / 0.7104 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.5335, allocations: 0 / 0.7104 GB, free: 6.785 MB / 0.5606 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.001867/0.5354, allocations: 1.079 MB / 0.7115 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5355, allocations: 8.031 kB / 0.7115 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.801e-05/0.5356, allocations: 86.52 kB / 0.7116 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.5365, allocations: 131.2 kB / 0.7117 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.5373, allocations: 488.4 kB / 0.7122 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.5374, allocations: 36.94 kB / 0.7122 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.5374, allocations: 36 kB / 0.7122 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5385, allocations: 0.5867 MB / 0.7128 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5385, allocations: 7.938 kB / 0.7128 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.5386, allocations: 27.88 kB / 0.7129 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.5386, allocations: 12 kB / 0.7129 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.5395, allocations: 471.6 kB / 0.7133 GB, free: 3.703 MB / 0.5606 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.002946/0.5424, allocations: 2.643 MB / 0.7159 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.5432, allocations: 337.5 kB / 0.7162 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.5435, allocations: 177.4 kB / 0.7164 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/0.7931, allocations: 428.9 kB / 0.7168 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.7933, allocations: 42.7 kB / 0.7168 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.7933, allocations: 0 / 0.7168 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002311/0.7956, allocations: 0.7085 MB / 0.7175 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.7957, allocations: 133.2 kB / 0.7177 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.7963, allocations: 469 kB / 0.7181 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.7964, allocations: 39.58 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.7966, allocations: 271.4 kB / 0.7184 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.7967, allocations: 117.9 kB / 0.7185 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.7968, allocations: 100.3 kB / 0.7186 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.797, allocations: 361.6 kB / 0.7189 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.7973, allocations: 144.1 kB / 0.7191 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.7977, allocations: 282 kB / 0.7194 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.7984, allocations: 443.3 kB / 0.7198 GB, free: 189 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7984, allocations: 1.406 kB / 0.7198 GB, free: 189 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.7995, allocations: 0.538 MB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7995, allocations: 5.656 kB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7995, allocations: 4.922 kB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.8012, allocations: 238.5 kB / 0.7205 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.8016, allocations: 102.7 kB / 0.7206 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004207/0.802, allocations: 0.5916 MB / 0.7212 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.8024, allocations: 46 kB / 0.7213 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.8025, allocations: 46.27 kB / 0.7213 GB, free: 188.2 MB / 0.5606 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.0002895/0.8028, allocations: 189.8 kB / 0.7215 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.803, allocations: 54.83 kB / 0.7215 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.8051, allocations: 1.076 MB / 0.7226 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8051, allocations: 7.406 kB / 0.7226 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8051, allocations: 4.656 kB / 0.7226 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8051, allocations: 5.906 kB / 0.7226 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.8066, allocations: 1.002 MB / 0.7236 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8066, allocations: 5.531 kB / 0.7236 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.8069, allocations: 52.05 kB / 0.7236 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/0.8101, allocations: 433.1 kB / 0.7241 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.8101, allocations: 10.86 kB / 0.7241 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003824/0.8105, allocations: 0.6066 MB / 0.7247 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8105, allocations: 6.688 kB / 0.7247 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008345/0.8114, allocations: 0.5036 MB / 0.7252 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.8115, allocations: 136.8 kB / 0.7253 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.8116, allocations: 9.188 kB / 0.7253 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.8119, allocations: 19.64 kB / 0.7253 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.812, allocations: 28.17 kB / 0.7253 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.8121, allocations: 19.11 kB / 0.7254 GB, free: 186 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005246/0.8126, allocations: 397.4 kB / 0.7257 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8126, allocations: 0 / 0.7257 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001446/0.8141, allocations: 332.2 kB / 0.7261 GB, free: 185.7 MB / 0.5606 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.002129/0.8162, allocations: 1.377 MB / 0.7274 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.8172, allocations: 381.4 kB / 0.7278 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8172, allocations: 2 kB / 0.7278 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.8176, allocations: 166.7 kB / 0.7279 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8193, allocations: 367.1 kB / 0.7283 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006383/0.8257, allocations: 4.792 MB / 0.733 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.826, allocations: 0.8598 MB / 0.7338 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001081/0.8271, allocations: 0.5503 MB / 0.7343 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.8274, allocations: 223 kB / 0.7345 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.8274, allocations: 0 / 0.7345 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.871, allocations: 23.22 MB / 0.7572 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.27, allocations: 4 kB / 0.7572 GB, free: 160.8 MB / 0.5606 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