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.001865/0.001865, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.002333/0.002333, allocations: 195 kB / 18.67 MB, free: 4.414 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.495/1.495, 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.001339/0.001339, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08798, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005582/0.09359, allocations: 4.138 MB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1773/0.2709, allocations: 1.662 MB / 380.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/0.2716, allocations: 11 kB / 380.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.2743, allocations: 1.014 MB / 381.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.2751, allocations: 233.7 kB / 381.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.2768, allocations: 0.7947 MB / 382.5 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.278, allocations: 0.6192 MB / 383.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009393/0.279, allocations: 0.4964 MB / 383.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.2795, allocations: 265.4 kB / 383.9 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.2801, allocations: 334 kB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.2802, allocations: 52.66 kB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.2808, allocations: 269 kB / 384.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.2809, allocations: 133.4 kB / 384.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.2812, allocations: 314.4 kB / 384.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.2823, allocations: 0.911 MB / 385.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2823, allocations: 4.797 kB / 385.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2823, allocations: 1.469 kB / 385.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.2823, allocations: 0 / 385.9 MB, free: 7.992 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.003197/0.2855, allocations: 1.192 MB / 387.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2856, allocations: 9.438 kB / 387.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.2857, allocations: 116.5 kB / 387.2 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.2868, allocations: 180 kB / 387.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.287, allocations: 240.5 kB / 387.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.287, allocations: 49.88 kB / 387.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.2871, allocations: 68.56 kB / 387.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.2883, allocations: 0.7056 MB / 388.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.2884, allocations: 5.219 kB / 388.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.2884, allocations: 25.66 kB / 388.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.2885, allocations: 16.64 kB / 388.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2897, allocations: 0.5963 MB / 389.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.2927, allocations: 2.309 MB / 391.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.294, allocations: 1.633 MB / 393 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.2945, allocations: 277.2 kB / 393.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.2947, allocations: 94.84 kB / 393.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2947, allocations: 43.31 kB / 393.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.2947, allocations: 0 / 393.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001523/0.2962, allocations: 0.7043 MB / 394.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2963, allocations: 111.4 kB / 394.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.2966, allocations: 255.9 kB / 394.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2966, allocations: 36.67 kB / 394.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2967, allocations: 267.8 kB / 394.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.2969, allocations: 220.9 kB / 395 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.2971, allocations: 118.6 kB / 395.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2972, allocations: 350.4 kB / 395.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.2977, allocations: 215 kB / 395.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.2983, allocations: 304.8 kB / 395.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2994, allocations: 0.5119 MB / 396.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2994, allocations: 1.156 kB / 396.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00135/0.3007, allocations: 0.6228 MB / 397.1 MB, free: 1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3008, allocations: 10.25 kB / 397.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3008, allocations: 2.562 kB / 397.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3008, allocations: 7.938 kB / 397.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.3016, allocations: 161.5 kB / 397.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3016, allocations: 4.109 kB / 397.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.3021, allocations: 77.25 kB / 397.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3021, allocations: 23.05 kB / 397.4 MB, free: 0.9258 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.0001886/0.3023, allocations: 193.2 kB / 397.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.3024, allocations: 33.91 kB / 397.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3036, allocations: 0.6075 MB / 398.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3036, allocations: 6.219 kB / 398.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3036, allocations: 2.547 kB / 398.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3036, allocations: 3.094 kB / 398.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3059, allocations: 1.292 MB / 399.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3059, allocations: 1.375 kB / 399.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.3064, allocations: 127.7 kB / 399.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3065, allocations: 2.75 kB / 399.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.3065, allocations: 15.61 kB / 399.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.3065, allocations: 7.391 kB / 399.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3065, allocations: 0.9375 kB / 399.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.3082, allocations: 0.9727 MB / 400.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3083, allocations: 119.3 kB / 400.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.3083, allocations: 11.78 kB / 400.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.3087, allocations: 40.09 kB / 400.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3089, allocations: 43.3 kB / 400.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.3089, allocations: 19.02 kB / 400.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3091, allocations: 193.9 kB / 401 MB, free: 14.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3091, allocations: 0 / 401 MB, free: 14.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006133/0.3097, allocations: 177.6 kB / 401.2 MB, free: 14.89 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.002038/0.3118, allocations: 1.566 MB / 402.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.313, allocations: 0.5356 MB / 403.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.313, allocations: 0 / 403.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.3135, allocations: 277.4 kB / 403.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.314, allocations: 47.12 kB / 403.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.3206, allocations: 4.212 MB / 407.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.321, allocations: 0.8434 MB / 408.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.3214, allocations: 81.06 kB / 408.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.3217, allocations: 186 kB / 408.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3217, allocations: 0 / 408.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.983/2.305, allocations: 9.394 MB / 418.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/15, allocations: 8 kB / 418.3 MB, free: 2.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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