Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001218/0.001218, allocations: 108.4 kB / 16.41 MB, free: 6.5 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.001146/0.001146, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.488/1.488, 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.2245/0.2245, allocations: 43.54 MB / 314.1 MB, free: 464 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.001459/0.001459, allocations: 75.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00391/0.1361, allocations: 2.406 MB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1378, allocations: 0.8032 MB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.138, allocations: 7.938 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1383, allocations: 55.5 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1386, allocations: 99.3 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.139, allocations: 99.81 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.1394, allocations: 346.8 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.1397, allocations: 96.67 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.14, allocations: 135.5 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1403, allocations: 151.4 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.1403, allocations: 28 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.1404, allocations: 36 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1405, allocations: 67.75 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1407, allocations: 151.2 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.1412, allocations: 362.4 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.1412, allocations: 0 / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1412, allocations: 0 / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1412, allocations: 0 / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001277/0.1425, allocations: 0.6194 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.1426, allocations: 11.89 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.487e-05/0.1427, allocations: 62.72 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.1428, allocations: 36.75 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.1433, allocations: 263.8 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1433, allocations: 16.94 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.1434, allocations: 24.38 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.144, allocations: 249 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.144, allocations: 0 / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.144, allocations: 8 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.144, allocations: 15.92 kB / 0.4933 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.1446, allocations: 234.1 kB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.146, allocations: 0.86 MB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1466, allocations: 326.1 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.1469, allocations: 140.8 kB / 0.4949 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1469, allocations: 4 kB / 0.4949 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.147, allocations: 34.56 kB / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.147, allocations: 0 / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004511/0.1515, allocations: 1.258 MB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1515, allocations: 55.41 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1518, allocations: 217.1 kB / 0.4964 GB, free: 2.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.1518, allocations: 33.7 kB / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1519, allocations: 168.7 kB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.152, allocations: 103.1 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.1521, allocations: 57.56 kB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1523, allocations: 330.8 kB / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1525, allocations: 91.95 kB / 0.4971 GB, free: 1.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1527, allocations: 121.9 kB / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.1532, allocations: 239.2 kB / 0.4975 GB, free: 1.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1532, allocations: 0 / 0.4975 GB, free: 1.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001706/0.1549, allocations: 0.5404 MB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.155, allocations: 4 kB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.155, allocations: 0 / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.1566, allocations: 315.1 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1567, allocations: 27.97 kB / 0.4983 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007422/0.1642, allocations: 6.833 MB / 0.505 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1644, allocations: 31.78 kB / 0.505 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1645, allocations: 11.98 kB / 0.505 GB, free: 9.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1646, allocations: 141.7 kB / 0.5052 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1647, allocations: 31.88 kB / 0.5052 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.1664, allocations: 0.5473 MB / 0.5057 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1664, allocations: 4 kB / 0.5057 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1665, allocations: 7.938 kB / 0.5058 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1665, allocations: 4.172 kB / 0.5058 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.1669, allocations: 353.3 kB / 0.5061 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1669, allocations: 0 / 0.5061 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.167, allocations: 27.91 kB / 0.5061 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.1685, allocations: 311.1 kB / 0.5064 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1686, allocations: 4 kB / 0.5064 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007757/0.1763, allocations: 6.898 MB / 0.5132 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1764, allocations: 0 / 0.5132 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.1784, allocations: 0.6116 MB / 0.5138 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1786, allocations: 116.8 kB / 0.5139 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.1786, allocations: 4 kB / 0.5139 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1788, allocations: 8 kB / 0.5139 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.1791, allocations: 35.94 kB / 0.5139 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1791, allocations: 4.25 kB / 0.5139 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1793, allocations: 164.5 kB / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1793, allocations: 0 / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006524/0.18, allocations: 119.9 kB / 0.5142 GB, free: 15.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002057/0.182, allocations: 1.169 MB / 0.5153 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1835, allocations: 0.7603 MB / 0.5161 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1835, allocations: 0 / 0.5161 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.1849, allocations: 0.7405 MB / 0.5168 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1852, allocations: 27.03 kB / 0.5168 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.1912, allocations: 3.09 MB / 0.5198 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.1917, allocations: 0.7717 MB / 0.5206 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.1918, allocations: 9.953 kB / 0.5206 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1919, allocations: 79.41 kB / 0.5207 GB, free: 8.281 MB / 414.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1919, allocations: 0 / 0.5207 GB, free: 8.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/0.4892, allocations: 10.77 MB / 0.5312 GB, free: 40.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12, allocations: 18.64 kB / 0.5312 GB, free: 40.92 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches