Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001353/0.001353, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001422/0.001422, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.553/1.553, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001709/0.001709, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09891, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006568/0.1055, allocations: 4.282 MB / 378.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1868/0.2923, allocations: 1.678 MB / 380.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.2928, allocations: 12.38 kB / 380.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.2953, allocations: 1.015 MB / 381.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.2959, allocations: 253.2 kB / 381.9 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2976, allocations: 0.7929 MB / 382.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008488/0.2984, allocations: 0.643 MB / 383.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009715/0.2994, allocations: 0.5137 MB / 383.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.2998, allocations: 273.1 kB / 384.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.3002, allocations: 361.1 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.3003, allocations: 57.34 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.3009, allocations: 271.8 kB / 384.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3011, allocations: 141.7 kB / 384.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.3014, allocations: 328.1 kB / 385.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3025, allocations: 0.9546 MB / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3025, allocations: 0 / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3025, allocations: 1.125 kB / 386.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3025, allocations: 0 / 386.2 MB, free: 7.863 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003677/0.3062, allocations: 1.278 MB / 387.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3063, allocations: 9.938 kB / 387.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.3064, allocations: 121.4 kB / 387.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.3078, allocations: 208.5 kB / 387.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3081, allocations: 245.5 kB / 388 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.3082, allocations: 56.12 kB / 388.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3083, allocations: 72.34 kB / 388.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3097, allocations: 0.7687 MB / 388.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.3097, allocations: 9.828 kB / 388.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.3098, allocations: 30.62 kB / 389 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3098, allocations: 18.03 kB / 389 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3113, allocations: 0.6741 MB / 389.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.315, allocations: 3.09 MB / 392.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.3169, allocations: 2.077 MB / 394.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.3176, allocations: 329.5 kB / 395.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-05/0.3177, allocations: 96.16 kB / 395.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3178, allocations: 47.92 kB / 395.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 3.055e-06/0.3178, allocations: 0 / 395.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002657/0.3204, allocations: 1.145 MB / 396.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3205, allocations: 110.5 kB / 396.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.3208, allocations: 275.2 kB / 396.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3208, allocations: 36.14 kB / 396.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.321, allocations: 310.6 kB / 397.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3211, allocations: 255.7 kB / 397.4 MB, free: 384 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.3213, allocations: 136.2 kB / 397.5 MB, free: 308 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3215, allocations: 356.2 kB / 397.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.3221, allocations: 228.9 kB / 398.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.3228, allocations: 381.4 kB / 398.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.3241, allocations: 0.637 MB / 399.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.3241, allocations: 1.375 kB / 399.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001751/0.3259, allocations: 0.8383 MB / 400 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3259, allocations: 5.562 kB / 400 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3259, allocations: 8.828 kB / 400 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.3265, allocations: 126.9 kB / 400.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.3272, allocations: 158.5 kB / 400.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.3311, allocations: 3.794 MB / 404.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.3318, allocations: 89.69 kB / 404.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.3319, allocations: 32.78 kB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.3323, allocations: 199.8 kB / 404.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3324, allocations: 40.42 kB / 404.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.3342, allocations: 0.7418 MB / 405.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3343, allocations: 16.55 kB / 405.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3343, allocations: 2.125 kB / 405.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3343, allocations: 5.109 kB / 405.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3372, allocations: 1.493 MB / 406.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3372, allocations: 0 / 406.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.3377, allocations: 111.6 kB / 406.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.338, allocations: 113 kB / 406.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.3381, allocations: 19.34 kB / 406.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.3415, allocations: 3.346 MB / 410.2 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3415, allocations: 5.938 kB / 410.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.3438, allocations: 1.124 MB / 411.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.344, allocations: 134.4 kB / 411.5 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.3441, allocations: 10.78 kB / 411.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.3445, allocations: 33.91 kB / 411.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3446, allocations: 48.72 kB / 411.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.3447, allocations: 22.2 kB / 411.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.3449, allocations: 196 kB / 411.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3449, allocations: 0 / 411.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009225/0.3459, allocations: 220.5 kB / 412 MB, free: 5.746 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002754/0.3486, allocations: 1.711 MB / 413.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3505, allocations: 0.8871 MB / 414.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3505, allocations: 0 / 414.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009585/0.3515, allocations: 0.5704 MB / 415.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.352, allocations: 36.12 kB / 415.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.3598, allocations: 4.786 MB / 420 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.3606, allocations: 0.8626 MB / 420.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.3609, allocations: 79.2 kB / 421 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.3612, allocations: 205 kB / 421.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3612, allocations: 4 kB / 421.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.4069, allocations: 10.68 MB / 431.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.33, allocations: 8.062 kB / 431.8 MB, free: 4.457 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches