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.0012/0.0012, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001207/0.001207, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.463/1.463, 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.001688/0.001688, allocations: 52.3 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09868, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00602/0.1047, allocations: 4.301 MB / 379 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2136/0.3184, allocations: 1.67 MB / 380.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.3187, allocations: 12.16 kB / 380.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.3207, allocations: 1.013 MB / 381.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.3213, allocations: 254.4 kB / 381.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3227, allocations: 0.7901 MB / 382.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008961/0.3236, allocations: 0.6421 MB / 383.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008776/0.3245, allocations: 0.5142 MB / 383.8 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.325, allocations: 276 kB / 384.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.3254, allocations: 363.9 kB / 384.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.3255, allocations: 60.16 kB / 384.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.3261, allocations: 271 kB / 384.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3262, allocations: 139.5 kB / 384.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.3265, allocations: 327.3 kB / 385.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.3278, allocations: 0.9552 MB / 386.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3279, allocations: 0 / 386.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3279, allocations: 1.781 kB / 386.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3279, allocations: 0 / 386.2 MB, free: 7.871 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.003681/0.3316, allocations: 1.277 MB / 387.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3316, allocations: 9.719 kB / 387.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.3318, allocations: 115.9 kB / 387.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3332, allocations: 213.2 kB / 387.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3334, allocations: 249.5 kB / 388.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.3335, allocations: 51.42 kB / 388.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3336, allocations: 77.22 kB / 388.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3351, allocations: 0.7726 MB / 389 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3351, allocations: 5.047 kB / 389 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.3352, allocations: 29.91 kB / 389 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.3352, allocations: 19.3 kB / 389 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3366, allocations: 0.6697 MB / 389.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.3407, allocations: 3.091 MB / 392.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.3429, allocations: 2.076 MB / 394.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.3437, allocations: 326.2 kB / 395.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3438, allocations: 99.45 kB / 395.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3439, allocations: 40.12 kB / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 3.727e-06/0.3439, allocations: 0 / 395.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002917/0.3468, allocations: 1.145 MB / 396.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3469, allocations: 111.5 kB / 396.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.3473, allocations: 274 kB / 396.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.3474, allocations: 40.58 kB / 396.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3476, allocations: 305.5 kB / 397.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3478, allocations: 258.8 kB / 397.4 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.3481, allocations: 137.4 kB / 397.5 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3482, allocations: 356 kB / 397.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.3489, allocations: 227.7 kB / 398.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.3497, allocations: 386.5 kB / 398.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.3511, allocations: 0.6324 MB / 399.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3511, allocations: 5.719 kB / 399.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001811/0.3529, allocations: 0.844 MB / 400 MB, free: 14.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3529, allocations: 6.578 kB / 400 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.353, allocations: 5.312 kB / 400 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.3534, allocations: 127.8 kB / 400.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.3541, allocations: 159.9 kB / 400.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.358, allocations: 3.786 MB / 404 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.3588, allocations: 90.12 kB / 404.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.3589, allocations: 29.48 kB / 404.2 MB, free: 11.3 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.0003838/0.3593, allocations: 207.8 kB / 404.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3594, allocations: 40.61 kB / 404.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3611, allocations: 0.7422 MB / 405.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3611, allocations: 8.094 kB / 405.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3612, allocations: 2.281 kB / 405.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3612, allocations: 4.797 kB / 405.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.3638, allocations: 1.491 MB / 406.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3638, allocations: 1.031 kB / 406.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.3644, allocations: 119 kB / 406.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.3648, allocations: 108.2 kB / 406.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.3648, allocations: 16.16 kB / 406.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.3678, allocations: 3.352 MB / 410.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3678, allocations: 1.672 kB / 410.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3699, allocations: 1.129 MB / 411.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3701, allocations: 126 kB / 411.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.3701, allocations: 15.72 kB / 411.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3705, allocations: 25.27 kB / 411.5 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3706, allocations: 52.83 kB / 411.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3707, allocations: 21.89 kB / 411.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.3709, allocations: 187.7 kB / 411.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 1.469 kB / 411.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009031/0.3718, allocations: 223.6 kB / 412 MB, free: 5.773 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.00276/0.3746, allocations: 1.717 MB / 413.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.3766, allocations: 0.8894 MB / 414.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3766, allocations: 1.844 kB / 414.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.3775, allocations: 0.5607 MB / 415.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3781, allocations: 43.8 kB / 415.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.3856, allocations: 4.784 MB / 420 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3861, allocations: 0.8658 MB / 420.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003841/0.3865, allocations: 84.02 kB / 421 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.3868, allocations: 204.5 kB / 421.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.236e-06/0.3869, allocations: 0 / 421.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.4246, allocations: 10.67 MB / 431.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.81, allocations: 7.938 kB / 431.8 MB, free: 4.477 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