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.001204/0.001204, allocations: 108 kB / 17.06 MB, free: 6.02 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.001193/0.001193, allocations: 191 kB / 18 MB, free: 5.102 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2532, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005242/0.2585, allocations: 4.339 MB / 404.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.2611, allocations: 1.639 MB / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.2615, allocations: 12 kB / 406.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.264, allocations: 1.018 MB / 407.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.2647, allocations: 254.2 kB / 407.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2664, allocations: 0.8016 MB / 408.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008811/0.2673, allocations: 0.6414 MB / 408.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009041/0.2682, allocations: 0.513 MB / 409.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.2687, allocations: 274.9 kB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.2692, allocations: 362.5 kB / 410.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.2693, allocations: 56 kB / 410.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000641/0.27, allocations: 271.7 kB / 410.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.2702, allocations: 139.5 kB / 410.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.2706, allocations: 326.4 kB / 410.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.272, allocations: 0.9602 MB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.272, allocations: 3.938 kB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2721, allocations: 0 / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.828e-05/0.2721, allocations: 8 kB / 411.8 MB, free: 13.2 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.003963/0.2761, allocations: 1.267 MB / 413.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2761, allocations: 8.031 kB / 413.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.2763, allocations: 122.8 kB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.2779, allocations: 212.4 kB / 413.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.2781, allocations: 243.5 kB / 413.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.2782, allocations: 54.38 kB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.2783, allocations: 76.33 kB / 413.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.2797, allocations: 0.7661 MB / 414.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.2798, allocations: 3.938 kB / 414.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.2799, allocations: 36 kB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2799, allocations: 16 kB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.2813, allocations: 0.661 MB / 415.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.2853, allocations: 3.1 MB / 418.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.2876, allocations: 2.064 MB / 420.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.2882, allocations: 335.8 kB / 420.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2884, allocations: 97.73 kB / 420.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2884, allocations: 51.22 kB / 420.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.2884, allocations: 0 / 420.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002549/0.291, allocations: 1.138 MB / 422 MB, free: 2.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.291, allocations: 119.4 kB / 422.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.2913, allocations: 274.5 kB / 422.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.2914, allocations: 41.7 kB / 422.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.2916, allocations: 304.3 kB / 422.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.2918, allocations: 261.7 kB / 423 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.292, allocations: 134.6 kB / 423.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2921, allocations: 350.7 kB / 423.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.2927, allocations: 233.9 kB / 423.7 MB, free: 484 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.2933, allocations: 386.3 kB / 424.1 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2944, allocations: 0.6337 MB / 424.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2945, allocations: 0 / 424.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001582/0.2961, allocations: 0.8346 MB / 425.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2961, allocations: 8 kB / 425.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2961, allocations: 4 kB / 425.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.2965, allocations: 125.7 kB / 425.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.2972, allocations: 159.8 kB / 425.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.3003, allocations: 3.797 MB / 429.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.3009, allocations: 87.39 kB / 429.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.301, allocations: 35.98 kB / 429.8 MB, free: 10.02 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.0002815/0.3013, allocations: 189.7 kB / 430 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3014, allocations: 43.72 kB / 430 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.303, allocations: 0.7492 MB / 430.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.303, allocations: 4.219 kB / 430.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.303, allocations: 4 kB / 430.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.303, allocations: 11.86 kB / 430.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.3055, allocations: 1.493 MB / 432.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3055, allocations: 0 / 432.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.306, allocations: 111.9 kB / 432.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.3063, allocations: 109.6 kB / 432.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.3064, allocations: 15.98 kB / 432.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.309, allocations: 3.365 MB / 435.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.309, allocations: 0 / 435.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3109, allocations: 1.129 MB / 437 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3111, allocations: 116.8 kB / 437.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3111, allocations: 16 kB / 437.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3115, allocations: 27.97 kB / 437.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3117, allocations: 56.58 kB / 437.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3117, allocations: 20.06 kB / 437.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3119, allocations: 198 kB / 437.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3119, allocations: 0 / 437.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008056/0.3128, allocations: 215.6 kB / 437.6 MB, free: 1.754 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.002323/0.3151, allocations: 1.726 MB / 439.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.3168, allocations: 0.8837 MB / 440.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3168, allocations: 0 / 440.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.3176, allocations: 0.5556 MB / 440.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.3181, allocations: 41.19 kB / 440.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/0.3257, allocations: 4.786 MB / 445.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.3263, allocations: 0.8616 MB / 446.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3267, allocations: 88.34 kB / 446.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.327, allocations: 195.4 kB / 446.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.327, allocations: 0 / 446.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.3637, allocations: 10.7 MB / 457.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.44, allocations: 3.375 kB / 457.5 MB, free: 13.79 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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