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.001311/0.001311, allocations: 113.2 kB / 17.73 MB, free: 5.355 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.001415/0.001415, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.359/1.359, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001314/0.001314, allocations: 63.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09477, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005907/0.1007, allocations: 4.142 MB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1956/0.2963, allocations: 1.659 MB / 380.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.2967, allocations: 11.28 kB / 380.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.299, allocations: 1.018 MB / 381.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.2996, allocations: 234 kB / 381.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3011, allocations: 0.7915 MB / 382.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00079/0.3019, allocations: 0.619 MB / 383.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.3027, allocations: 0.4907 MB / 383.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.3031, allocations: 273 kB / 383.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.3036, allocations: 332.6 kB / 384.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.3037, allocations: 52.72 kB / 384.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.3044, allocations: 270.1 kB / 384.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3045, allocations: 134.8 kB / 384.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3048, allocations: 308.9 kB / 385 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3061, allocations: 0.9147 MB / 385.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3061, allocations: 0 / 385.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3061, allocations: 2.031 kB / 385.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3061, allocations: 0 / 385.9 MB, free: 7.984 MB / 318.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.003532/0.3097, allocations: 1.219 MB / 387.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3097, allocations: 9.281 kB / 387.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.3099, allocations: 112.8 kB / 387.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.311, allocations: 176.3 kB / 387.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3112, allocations: 249.3 kB / 387.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.3113, allocations: 54.22 kB / 387.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3114, allocations: 72.61 kB / 387.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3128, allocations: 0.7053 MB / 388.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3128, allocations: 2 kB / 388.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.3129, allocations: 25.28 kB / 388.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3129, allocations: 16.22 kB / 388.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3142, allocations: 0.6022 MB / 389.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3175, allocations: 2.302 MB / 391.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3189, allocations: 1.634 MB / 393 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.3195, allocations: 270.1 kB / 393.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3196, allocations: 97.91 kB / 393.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3196, allocations: 43.56 kB / 393.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.3196, allocations: 0 / 393.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.00157/0.3212, allocations: 0.7014 MB / 394.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3212, allocations: 114.4 kB / 394.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3216, allocations: 261.7 kB / 394.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3216, allocations: 36.17 kB / 394.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3218, allocations: 276.2 kB / 394.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3219, allocations: 233.8 kB / 395 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.3221, allocations: 114.9 kB / 395.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.3222, allocations: 350.5 kB / 395.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.3227, allocations: 214.8 kB / 395.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.3232, allocations: 300.1 kB / 396 MB, free: 1.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009621/0.3242, allocations: 0.5127 MB / 396.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3242, allocations: 4 kB / 396.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001225/0.3254, allocations: 0.6326 MB / 397.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3255, allocations: 11.34 kB / 397.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3255, allocations: 0.8906 kB / 397.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3255, allocations: 7.625 kB / 397.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.3262, allocations: 160 kB / 397.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3262, allocations: 5.969 kB / 397.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.3268, allocations: 77.11 kB / 397.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.3268, allocations: 23 kB / 397.4 MB, free: 0.8672 MB / 318.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.0002024/0.327, allocations: 188.4 kB / 397.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.3271, allocations: 38.23 kB / 397.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3284, allocations: 0.6074 MB / 398.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3284, allocations: 7.609 kB / 398.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3284, allocations: 1.938 kB / 398.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3285, allocations: 3.234 kB / 398.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.3306, allocations: 1.288 MB / 399.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3307, allocations: 1.938 kB / 399.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.3312, allocations: 133 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3313, allocations: 2.781 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.3313, allocations: 14.19 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3313, allocations: 7.281 kB / 399.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3313, allocations: 1.438 kB / 399.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.333, allocations: 0.9722 MB / 400.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3332, allocations: 119.9 kB / 400.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.3332, allocations: 15.8 kB / 400.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.3337, allocations: 31.92 kB / 400.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3338, allocations: 39.11 kB / 400.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.3338, allocations: 23.42 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3341, allocations: 193.8 kB / 401.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3341, allocations: 0 / 401.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006526/0.3347, allocations: 182 kB / 401.3 MB, free: 14.83 MB / 334.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.002226/0.337, allocations: 1.574 MB / 402.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3382, allocations: 0.535 MB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3382, allocations: 4.125 kB / 403.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.3387, allocations: 271.7 kB / 403.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.3393, allocations: 46.3 kB / 403.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.346, allocations: 4.225 MB / 407.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3465, allocations: 0.848 MB / 408.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003922/0.3469, allocations: 77.09 kB / 408.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.3472, allocations: 185 kB / 409 MB, free: 9.957 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3472, allocations: 4 kB / 409 MB, free: 9.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.3898, allocations: 9.304 MB / 418.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.769, allocations: 3.938 kB / 418.3 MB, free: 2.891 MB / 334.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