Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001289/0.001289, allocations: 100.3 kB / 17.58 MB, free: 5.418 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.002356/0.002356, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.908/1.908, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.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.002188/0.002188, allocations: 59.91 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1309, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.01008/0.141, allocations: 4.127 MB / 331.5 MB, free: 204 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.1466, allocations: 1.675 MB / 333.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/0.1472, allocations: 12 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.151, allocations: 1.011 MB / 334.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1523, allocations: 230.3 kB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.1553, allocations: 0.7979 MB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.157, allocations: 0.6145 MB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.1586, allocations: 0.4996 MB / 336.4 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.1594, allocations: 263 kB / 336.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008761/0.1603, allocations: 342.6 kB / 337 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.1606, allocations: 56 kB / 337 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.1618, allocations: 263.8 kB / 337.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.162, allocations: 127.6 kB / 337.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006155/0.1627, allocations: 314.4 kB / 337.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.1647, allocations: 0.8995 MB / 338.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1647, allocations: 3.938 kB / 338.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1647, allocations: 0 / 338.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.1648, allocations: 4 kB / 338.6 MB, free: 9.086 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006424/0.1712, allocations: 1.198 MB / 339.8 MB, free: 7.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1713, allocations: 15.97 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.1715, allocations: 106.7 kB / 339.9 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.1735, allocations: 176 kB / 340.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1739, allocations: 244 kB / 340.3 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.174, allocations: 54.38 kB / 340.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1742, allocations: 68.38 kB / 340.5 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.1761, allocations: 0.6997 MB / 341.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.1762, allocations: 3.984 kB / 341.2 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/0.1763, allocations: 28 kB / 341.2 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.1763, allocations: 16 kB / 341.2 MB, free: 6.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.1781, allocations: 0.6062 MB / 341.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.1818, allocations: 2.316 MB / 344.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.1835, allocations: 1.636 MB / 345.8 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.1841, allocations: 275.3 kB / 346 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1842, allocations: 97.66 kB / 346.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1843, allocations: 39.12 kB / 346.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 3.567e-06/0.1843, allocations: 0 / 346.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.002281/0.1866, allocations: 0.7016 MB / 346.9 MB, free: 312 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.1867, allocations: 111.4 kB / 347 MB, free: 176 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.1872, allocations: 264.8 kB / 347.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.1873, allocations: 37.7 kB / 347.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.1875, allocations: 260 kB / 347.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.1878, allocations: 224.8 kB / 347.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.1881, allocations: 122.7 kB / 347.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.1884, allocations: 350.7 kB / 348.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/0.1892, allocations: 205.9 kB / 348.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.1902, allocations: 305.3 kB / 348.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.1919, allocations: 0.5104 MB / 349.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1919, allocations: 4 kB / 349.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002188/0.1941, allocations: 0.6258 MB / 349.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1942, allocations: 8 kB / 349.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1942, allocations: 0 / 349.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.1942, allocations: 4 kB / 349.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.1955, allocations: 163.8 kB / 350 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1956, allocations: 8 kB / 350 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.1964, allocations: 67.36 kB / 350.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.1965, allocations: 27.98 kB / 350.1 MB, free: 12.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.1969, allocations: 193.6 kB / 350.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.1971, allocations: 39.53 kB / 350.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.1993, allocations: 0.6045 MB / 350.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.1994, allocations: 8 kB / 351 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1994, allocations: 3.938 kB / 351 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.1994, allocations: 3.984 kB / 351 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.203, allocations: 1.296 MB / 352.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.203, allocations: 4 kB / 352.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/0.204, allocations: 127.8 kB / 352.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.204, allocations: 8 kB / 352.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.2041, allocations: 15.94 kB / 352.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.2041, allocations: 0 / 352.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.2041, allocations: 4 kB / 352.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.207, allocations: 0.9705 MB / 353.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.2072, allocations: 128.5 kB / 353.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2074, allocations: 15.94 kB / 353.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.2081, allocations: 27.97 kB / 353.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.2083, allocations: 44.5 kB / 353.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.2084, allocations: 16 kB / 353.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.2088, allocations: 192.5 kB / 353.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2088, allocations: 0 / 353.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001126/0.2099, allocations: 179.5 kB / 354 MB, free: 8.965 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003804/0.2138, allocations: 1.558 MB / 355.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.2167, allocations: 0.5623 MB / 356.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2167, allocations: 0 / 356.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.2177, allocations: 275.5 kB / 356.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2188, allocations: 48.42 kB / 356.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.2309, allocations: 4.244 MB / 360.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.2316, allocations: 0.8538 MB / 361.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0009374/0.2326, allocations: 75.41 kB / 361.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.2331, allocations: 187.4 kB / 361.8 MB, free: 1 MB / 302.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2332, allocations: 0 / 361.8 MB, free: 1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0477/0.2809, allocations: 9.124 MB / 370.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.53, allocations: 4.422 kB / 370.9 MB, free: 7.805 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches