Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_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.001397/0.001397, allocations: 107.8 kB / 17.06 MB, free: 5.82 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.001376/0.001376, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 43.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2725, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00599/0.2786, allocations: 4.177 MB / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.2815, allocations: 1.631 MB / 406 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2817, allocations: 12 kB / 406.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2842, allocations: 1.017 MB / 407.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.2847, allocations: 238.2 kB / 407.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.2863, allocations: 0.7928 MB / 408.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.2871, allocations: 0.6261 MB / 408.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.2878, allocations: 499.3 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.2882, allocations: 262.9 kB / 409.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.2886, allocations: 334.7 kB / 409.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.2887, allocations: 56 kB / 409.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.2893, allocations: 275.7 kB / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2894, allocations: 127.5 kB / 410.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.2897, allocations: 310.5 kB / 410.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2908, allocations: 0.9213 MB / 411.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2909, allocations: 0 / 411.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2909, allocations: 0 / 411.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2909, allocations: 0 / 411.5 MB, free: 13.55 MB / 334.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.003536/0.2944, allocations: 1.224 MB / 412.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2945, allocations: 19.83 kB / 412.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.2946, allocations: 114.7 kB / 412.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.2958, allocations: 180.3 kB / 413 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.296, allocations: 241 kB / 413.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.2961, allocations: 50.38 kB / 413.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2962, allocations: 68.38 kB / 413.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2975, allocations: 0.7036 MB / 414.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.2975, allocations: 0 / 414.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.2976, allocations: 28 kB / 414.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.2976, allocations: 16 kB / 414.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.299, allocations: 0.6024 MB / 414.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.3024, allocations: 2.313 MB / 417 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3043, allocations: 1.633 MB / 418.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.3048, allocations: 268.9 kB / 418.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.305, allocations: 97.66 kB / 419 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.305, allocations: 39.12 kB / 419 MB, free: 5.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.305, allocations: 0 / 419 MB, free: 5.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001668/0.3067, allocations: 0.7057 MB / 419.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.3068, allocations: 107.4 kB / 419.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.3071, allocations: 264.9 kB / 420.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3072, allocations: 41.64 kB / 420.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3074, allocations: 268.8 kB / 420.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3076, allocations: 245.8 kB / 420.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3078, allocations: 122.6 kB / 420.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.308, allocations: 350.7 kB / 421.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.3085, allocations: 205.9 kB / 421.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.3091, allocations: 301.4 kB / 421.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3101, allocations: 0.5104 MB / 422.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3101, allocations: 0 / 422.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001341/0.3115, allocations: 0.6336 MB / 422.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3115, allocations: 8 kB / 422.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3115, allocations: 0 / 422.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3116, allocations: 4 kB / 422.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.3123, allocations: 163.8 kB / 422.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3123, allocations: 7.984 kB / 422.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.3128, allocations: 67.8 kB / 423 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.3129, allocations: 31.98 kB / 423 MB, free: 1.352 MB / 334.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.0002415/0.3131, allocations: 193.5 kB / 423.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.3132, allocations: 39.77 kB / 423.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.3146, allocations: 0.5968 MB / 423.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3146, allocations: 11.98 kB / 423.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.3146, allocations: 3.938 kB / 423.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3146, allocations: 0 / 423.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.3168, allocations: 1.294 MB / 425.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3168, allocations: 4 kB / 425.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.3174, allocations: 131.8 kB / 425.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3175, allocations: 4 kB / 425.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.3175, allocations: 15.94 kB / 425.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3175, allocations: 4 kB / 425.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3175, allocations: 4 kB / 425.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3193, allocations: 0.9793 MB / 426.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3194, allocations: 120.8 kB / 426.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.3195, allocations: 15.94 kB / 426.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.3199, allocations: 31.97 kB / 426.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.32, allocations: 40.5 kB / 426.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.3201, allocations: 16 kB / 426.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3203, allocations: 192.4 kB / 426.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3203, allocations: 0 / 426.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.3209, allocations: 187.7 kB / 426.9 MB, free: 13.37 MB / 350.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.002217/0.3231, allocations: 1.571 MB / 428.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3243, allocations: 0.5312 MB / 429 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3243, allocations: 0 / 429 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.3249, allocations: 279.4 kB / 429.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3254, allocations: 52.36 kB / 429.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.3323, allocations: 4.233 MB / 433.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.333, allocations: 0.8499 MB / 434.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.3334, allocations: 79.41 kB / 434.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.3337, allocations: 183.4 kB / 434.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3338, allocations: 0 / 434.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.3679, allocations: 9.336 MB / 444 MB, free: 12.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.918, allocations: 3.75 kB / 444 MB, free: 12.28 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches