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.001567/0.001567, allocations: 108 kB / 16.41 MB, free: 6.484 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.001802/0.001802, allocations: 188.1 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.607/1.607, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2985/0.2985, allocations: 43.52 MB / 314.1 MB, free: 460 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.003005/0.003005, allocations: 73.44 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1523, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004248/0.1566, allocations: 2.406 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1583, allocations: 0.8148 MB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1584, allocations: 7.938 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1587, allocations: 55.5 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.159, allocations: 91.31 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1593, allocations: 103.8 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.1598, allocations: 346.8 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1601, allocations: 88.7 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.1603, allocations: 139.5 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1606, allocations: 151.4 kB / 0.4915 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.1607, allocations: 36 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1608, allocations: 28 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.1609, allocations: 67.75 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.1611, allocations: 151.2 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.1615, allocations: 362.4 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1616, allocations: 0 / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1616, allocations: 4 kB / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1616, allocations: 0 / 0.4921 GB, free: 7.492 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.001271/0.1629, allocations: 0.6156 MB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.1629, allocations: 11.89 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.163, allocations: 62.73 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.1631, allocations: 32.75 kB / 0.4928 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.1637, allocations: 267.8 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1637, allocations: 20.94 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1638, allocations: 20.38 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.1644, allocations: 245 kB / 0.4933 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1644, allocations: 0 / 0.4933 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.1644, allocations: 12 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1644, allocations: 8 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1651, allocations: 238.1 kB / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1667, allocations: 0.8677 MB / 0.4944 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.1673, allocations: 314.2 kB / 0.4947 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.1676, allocations: 148.8 kB / 0.4949 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.1677, allocations: 3.984 kB / 0.4949 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1677, allocations: 38.56 kB / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.1677, allocations: 4 kB / 0.4949 GB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004591/0.1723, allocations: 1.254 MB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.1724, allocations: 55.41 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1727, allocations: 213 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1728, allocations: 29.7 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.173, allocations: 165.3 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1731, allocations: 111.1 kB / 0.4967 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1732, allocations: 53.56 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1734, allocations: 334.8 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1737, allocations: 91.95 kB / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.174, allocations: 121.9 kB / 0.4972 GB, free: 1.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.1745, allocations: 235.2 kB / 0.4975 GB, free: 1.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1745, allocations: 0 / 0.4975 GB, free: 1.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001774/0.1763, allocations: 0.5365 MB / 0.498 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1763, allocations: 8 kB / 0.498 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1763, allocations: 0 / 0.498 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.178, allocations: 315.1 kB / 0.4983 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1782, allocations: 27.97 kB / 0.4983 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/0.1868, allocations: 6.829 MB / 0.505 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.1871, allocations: 31.8 kB / 0.505 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1872, allocations: 12 kB / 0.505 GB, free: 9.289 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.0002373/0.1874, allocations: 153.8 kB / 0.5052 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1875, allocations: 31.8 kB / 0.5052 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.1893, allocations: 0.5434 MB / 0.5057 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1893, allocations: 7.984 kB / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1893, allocations: 3.938 kB / 0.5058 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1893, allocations: 4.172 kB / 0.5058 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1899, allocations: 357.3 kB / 0.5061 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1899, allocations: 0 / 0.5061 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.19, allocations: 27.91 kB / 0.5061 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.1915, allocations: 303.2 kB / 0.5064 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1916, allocations: 8 kB / 0.5064 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/0.2011, allocations: 6.902 MB / 0.5132 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2011, allocations: 0 / 0.5132 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.203, allocations: 0.6155 MB / 0.5138 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2032, allocations: 104.8 kB / 0.5139 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.2032, allocations: 8 kB / 0.5139 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2034, allocations: 11.98 kB / 0.5139 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.2036, allocations: 31.94 kB / 0.5139 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2036, allocations: 12.25 kB / 0.5139 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.2039, allocations: 156.5 kB / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2039, allocations: 4 kB / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000614/0.2045, 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.002312/0.2068, allocations: 1.165 MB / 0.5153 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2083, allocations: 0.7564 MB / 0.5161 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2084, allocations: 0 / 0.5161 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.2098, allocations: 0.7406 MB / 0.5168 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2102, allocations: 27.03 kB / 0.5168 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/0.2165, allocations: 3.094 MB / 0.5198 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.217, allocations: 0.7717 MB / 0.5206 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.2171, allocations: 13.94 kB / 0.5206 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2172, allocations: 71.42 kB / 0.5207 GB, free: 8.293 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2172, allocations: 4 kB / 0.5207 GB, free: 8.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/0.5158, allocations: 10.77 MB / 0.5312 GB, free: 41.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.01, allocations: 11.44 kB / 0.5312 GB, free: 41.06 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