Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_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.001034/0.001034, allocations: 105.7 kB / 17.06 MB, free: 6.012 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.0009501/0.0009502, allocations: 195 kB / 18 MB, free: 5.094 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.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001075, allocations: 43.92 kB / 350.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2636, allocations: 49.44 MB / 400.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005979/0.2696, allocations: 4.336 MB / 404.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2728, allocations: 1.642 MB / 406.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.2733, allocations: 12 kB / 406.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.2759, allocations: 1.018 MB / 407.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008683/0.2768, allocations: 258.2 kB / 407.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.2784, allocations: 0.7924 MB / 408.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.2793, allocations: 0.6413 MB / 408.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.28, allocations: 0.503 MB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.2804, allocations: 282.9 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.2808, allocations: 358.5 kB / 410.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.2808, allocations: 56 kB / 410.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.2814, allocations: 267.8 kB / 410.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2815, allocations: 143.5 kB / 410.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2818, allocations: 326.4 kB / 410.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009607/0.2827, allocations: 0.9578 MB / 411.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2827, allocations: 0 / 411.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2828, allocations: 3.938 kB / 411.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.2828, allocations: 0 / 411.8 MB, free: 13.25 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00339/0.2862, allocations: 1.253 MB / 413 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2862, allocations: 8.031 kB / 413.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.2863, allocations: 122.8 kB / 413.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.2877, allocations: 211.9 kB / 413.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.2879, allocations: 235.5 kB / 413.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.2879, allocations: 62.38 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.2881, allocations: 80.31 kB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2894, allocations: 0.77 MB / 414.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.2894, allocations: 0 / 414.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.2895, allocations: 32 kB / 414.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.2895, allocations: 16 kB / 414.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2908, allocations: 0.6766 MB / 415.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.2946, allocations: 3.075 MB / 418.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.2968, allocations: 2.079 MB / 420.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.2974, allocations: 331.6 kB / 420.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.2976, allocations: 101.8 kB / 420.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2976, allocations: 43.22 kB / 420.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 1.703e-06/0.2976, allocations: 0 / 420.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.0025/0.3001, allocations: 1.146 MB / 422 MB, free: 2.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.3002, allocations: 115.5 kB / 422.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.3005, allocations: 270.5 kB / 422.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.3005, allocations: 37.7 kB / 422.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3007, allocations: 291.4 kB / 422.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3009, allocations: 252.4 kB / 423 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3011, allocations: 138.6 kB / 423.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3012, allocations: 354.7 kB / 423.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.3017, allocations: 229.9 kB / 423.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.3022, allocations: 386.2 kB / 424 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3033, allocations: 0.6337 MB / 424.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3033, allocations: 0 / 424.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001481/0.3048, allocations: 0.8345 MB / 425.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3049, allocations: 4 kB / 425.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3049, allocations: 4 kB / 425.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.3053, allocations: 125.7 kB / 425.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.3059, allocations: 159.7 kB / 425.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.3092, allocations: 3.785 MB / 429.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.3097, allocations: 91.2 kB / 429.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3097, allocations: 35.98 kB / 429.7 MB, free: 10.11 MB / 350.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.0002446/0.31, allocations: 197.6 kB / 429.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.3101, allocations: 43.44 kB / 429.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3115, allocations: 0.7454 MB / 430.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3116, allocations: 8 kB / 430.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3116, allocations: 4.219 kB / 430.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3116, allocations: 7.922 kB / 430.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.3139, allocations: 1.489 MB / 432.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3139, allocations: 4 kB / 432.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.3144, allocations: 111.8 kB / 432.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.3147, allocations: 113.6 kB / 432.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.3148, allocations: 16 kB / 432.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.3174, allocations: 3.349 MB / 435.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3174, allocations: 8.031 kB / 435.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3192, allocations: 1.117 MB / 436.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.3193, allocations: 128.5 kB / 437 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.3194, allocations: 15.98 kB / 437 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.3198, allocations: 27.98 kB / 437.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.3199, allocations: 48.58 kB / 437.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.3199, allocations: 24 kB / 437.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3201, allocations: 198 kB / 437.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3201, allocations: 0 / 437.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.3208, allocations: 215.4 kB / 437.6 MB, free: 1.852 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 (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.002235/0.3231, allocations: 1.709 MB / 439.3 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.3246, allocations: 0.8804 MB / 440.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3246, allocations: 8.125 kB / 440.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.3254, allocations: 0.5671 MB / 440.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.3259, allocations: 38.06 kB / 440.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006648/0.3326, allocations: 4.756 MB / 445.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.333, allocations: 0.8655 MB / 446.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.3333, allocations: 88.34 kB / 446.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.3336, allocations: 203.3 kB / 446.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3336, allocations: 0 / 446.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.3682, allocations: 10.89 MB / 457.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.41, allocations: 7.359 kB / 457.6 MB, free: 13.73 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches