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.001319/0.001319, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.00137/0.00137, allocations: 189.5 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001669/0.001669, allocations: 63.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1178, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4731/0.5909, allocations: 190 MB / 0.6729 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.6017, allocations: 6.058 MB / 0.6789 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.6025, allocations: 15.94 kB / 0.6789 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.604, allocations: 321.8 kB / 0.6792 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.6105, allocations: 1.951 MB / 0.6811 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.6128, allocations: 0.7173 MB / 0.6818 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.6152, allocations: 1.512 MB / 0.6833 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008514/0.6161, allocations: 423.5 kB / 0.6837 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.6173, allocations: 0.5877 MB / 0.6842 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008287/0.6182, allocations: 462.1 kB / 0.6847 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.6184, allocations: 48 kB / 0.6847 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.6228, allocations: 2.106 MB / 0.6868 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.6231, allocations: 155.4 kB / 0.6869 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.6238, allocations: 342.5 kB / 0.6873 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.6278, allocations: 1.917 MB / 0.6891 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6278, allocations: 0 / 0.6891 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6278, allocations: 4 kB / 0.6891 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.6279, allocations: 0 / 0.6891 GB, free: 12.14 MB / 0.5294 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.002625/0.6305, allocations: 1.114 MB / 0.6902 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6306, allocations: 11.89 kB / 0.6902 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.6307, allocations: 90.45 kB / 0.6903 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6319, allocations: 147.1 kB / 0.6905 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.6328, allocations: 488.5 kB / 0.6909 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.6329, allocations: 29 kB / 0.691 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.633, allocations: 40 kB / 0.691 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6341, allocations: 0.5866 MB / 0.6916 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6342, allocations: 0 / 0.6916 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.6343, allocations: 20 kB / 0.6916 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.6343, allocations: 19.55 kB / 0.6916 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.6352, allocations: 467.6 kB / 0.6921 GB, free: 9.023 MB / 0.5294 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.003277/0.6385, allocations: 2.67 MB / 0.6947 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.6392, allocations: 346.1 kB / 0.695 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.6396, allocations: 165.3 kB / 0.6951 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.6409, allocations: 1.301 MB / 0.6964 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6409, allocations: 38.84 kB / 0.6965 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.6409, allocations: 0 / 0.6965 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001698/0.6426, allocations: 0.7064 MB / 0.6971 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.6427, allocations: 136.5 kB / 0.6973 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.6433, allocations: 473.9 kB / 0.6977 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.6433, allocations: 29.7 kB / 0.6978 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.6435, allocations: 279.8 kB / 0.698 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.6437, allocations: 110.4 kB / 0.6981 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6438, allocations: 102 kB / 0.6982 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.644, allocations: 362.8 kB / 0.6986 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.6443, allocations: 140.8 kB / 0.6987 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.6447, allocations: 283.7 kB / 0.699 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.6454, allocations: 441.5 kB / 0.6994 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6454, allocations: 4 kB / 0.6994 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009687/0.6464, allocations: 0.5249 MB / 0.6999 GB, free: 312 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6464, allocations: 8 kB / 0.6999 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6465, allocations: 4 kB / 0.6999 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.648, allocations: 232.9 kB / 0.7001 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.6484, allocations: 107.9 kB / 0.7002 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004508/0.6488, allocations: 0.5913 MB / 0.7008 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.6492, allocations: 51.52 kB / 0.7009 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/0.6493, allocations: 43.98 kB / 0.7009 GB, free: 15.25 MB / 0.545 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.0002561/0.6496, allocations: 189.6 kB / 0.7011 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.6497, allocations: 47.44 kB / 0.7011 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.6511, allocations: 0.7221 MB / 0.7018 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6511, allocations: 4 kB / 0.7019 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.6511, allocations: 0 / 0.7019 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6511, allocations: 3.938 kB / 0.7019 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.6526, allocations: 1.014 MB / 0.7028 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6526, allocations: 0 / 0.7028 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.6528, allocations: 59.84 kB / 0.7029 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/0.656, allocations: 436.4 kB / 0.7033 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.6561, allocations: 12 kB / 0.7033 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004414/0.6565, allocations: 0.5953 MB / 0.7039 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6565, allocations: 0 / 0.7039 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.6573, allocations: 0.5079 MB / 0.7044 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6575, allocations: 136.4 kB / 0.7045 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6576, allocations: 15.84 kB / 0.7046 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.658, allocations: 19.98 kB / 0.7046 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.658, allocations: 27.91 kB / 0.7046 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.6581, allocations: 19.98 kB / 0.7046 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004982/0.6586, allocations: 398.8 kB / 0.705 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6586, allocations: 0 / 0.705 GB, free: 10.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009933/0.6596, allocations: 363.7 kB / 0.7053 GB, free: 10.52 MB / 0.545 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.002477/0.6621, allocations: 1.46 MB / 0.7068 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008368/0.6629, allocations: 376.5 kB / 0.7071 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6629, allocations: 0 / 0.7071 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.6633, allocations: 159.8 kB / 0.7073 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.6649, allocations: 373.7 kB / 0.7076 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.6717, allocations: 4.804 MB / 0.7123 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.6722, allocations: 0.8557 MB / 0.7132 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000709/0.6729, allocations: 204.9 kB / 0.7134 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.6733, allocations: 207.4 kB / 0.7136 GB, free: 1.832 MB / 0.545 GB Notification: Performance of SimCode: time 4.8e-07/0.6733, allocations: 0 / 0.7136 GB, free: 1.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/0.7274, allocations: 24.22 MB / 0.7372 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.81, allocations: 3.938 kB / 0.7372 GB, free: 9.582 MB / 0.5762 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches