Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001989/0.001989, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002364/0.002364, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.11 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006085/0.2701, allocations: 4.346 MB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.2733, allocations: 1.701 MB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.2736, allocations: 12 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.276, allocations: 1.022 MB / 415.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007578/0.2768, allocations: 258.2 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.2784, allocations: 0.7662 MB / 416.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.2792, allocations: 0.6338 MB / 417.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008374/0.2801, allocations: 0.5091 MB / 418 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.2805, allocations: 270.9 kB / 418.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.281, allocations: 358.5 kB / 418.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/0.281, allocations: 56 kB / 418.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.2817, allocations: 295.7 kB / 419 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2818, allocations: 135.5 kB / 419.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2821, allocations: 330.4 kB / 419.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.2833, allocations: 0.9796 MB / 420.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2833, allocations: 0 / 420.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2833, allocations: 0 / 420.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2833, allocations: 0 / 420.4 MB, free: 5.883 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.003783/0.2871, allocations: 1.286 MB / 421.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2872, allocations: 8.031 kB / 421.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.2873, allocations: 118.8 kB / 421.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2887, allocations: 216.3 kB / 422 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.289, allocations: 243.5 kB / 422.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.2891, allocations: 58.38 kB / 422.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2892, allocations: 72.38 kB / 422.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.2907, allocations: 0.77 MB / 423.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.2907, allocations: 7.953 kB / 423.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.2908, allocations: 28 kB / 423.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.2908, allocations: 20 kB / 423.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2921, allocations: 0.661 MB / 423.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.2967, allocations: 3.266 MB / 427.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.2992, allocations: 2.071 MB / 429.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.2998, allocations: 323.5 kB / 429.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.3, allocations: 182.8 kB / 429.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3001, allocations: 43.22 kB / 429.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.3001, allocations: 0 / 429.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002587/0.3027, allocations: 1.138 MB / 430.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3028, allocations: 111.5 kB / 431 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3031, allocations: 282.5 kB / 431.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.3032, allocations: 37.92 kB / 431.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3034, allocations: 292.5 kB / 431.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.3036, allocations: 265.7 kB / 431.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.3038, allocations: 134.6 kB / 432 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.304, allocations: 354.7 kB / 432.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.3045, allocations: 233.9 kB / 432.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.3051, allocations: 386.2 kB / 432.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3063, allocations: 0.6259 MB / 433.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3063, allocations: 4 kB / 433.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001642/0.308, allocations: 0.8346 MB / 434.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.308, allocations: 8 kB / 434.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.308, allocations: 4 kB / 434.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.3084, allocations: 129.7 kB / 434.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.3091, allocations: 151.8 kB / 434.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.3129, allocations: 3.798 MB / 438.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.3135, allocations: 87.42 kB / 438.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.3136, allocations: 32 kB / 438.6 MB, free: 2.406 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.0003063/0.3139, allocations: 201.2 kB / 438.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.314, allocations: 43.72 kB / 438.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.3156, allocations: 0.7453 MB / 439.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3156, allocations: 4 kB / 439.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3156, allocations: 4 kB / 439.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3156, allocations: 7.922 kB / 439.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.3183, allocations: 1.485 MB / 441.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3184, allocations: 7.938 kB / 441.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.3189, allocations: 107.9 kB / 441.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.3192, allocations: 117.6 kB / 441.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.3193, allocations: 12 kB / 441.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.3223, allocations: 3.35 MB / 444.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3224, allocations: 4.062 kB / 444.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.3244, allocations: 1.125 MB / 445.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.3246, allocations: 128.7 kB / 445.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.3247, allocations: 12 kB / 445.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3251, allocations: 35.97 kB / 446 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3252, allocations: 52.58 kB / 446 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.3253, allocations: 24.05 kB / 446 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3255, allocations: 190 kB / 446.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.3255, allocations: 0 / 446.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008796/0.3264, allocations: 223.5 kB / 446.4 MB, free: 10.14 MB / 366.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.002441/0.3288, allocations: 1.712 MB / 448.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3305, allocations: 0.8801 MB / 449 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3305, allocations: 0 / 449 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.3314, allocations: 0.5555 MB / 449.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.3319, allocations: 40.98 kB / 449.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.3394, allocations: 4.77 MB / 454.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.34, allocations: 0.8694 MB / 455.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.3403, allocations: 80.36 kB / 455.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.3406, allocations: 195.4 kB / 455.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3406, allocations: 0 / 455.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.3856, allocations: 10.75 MB / 466.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.15, allocations: 14.83 kB / 466.3 MB, free: 6.152 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches