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.0007679/0.0007682, allocations: 93.41 kB / 16.65 MB, free: 6.59 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.0009743/0.0009744, allocations: 181.7 kB / 17.56 MB, free: 6.203 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.398/1.398, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 4 kB / 301.5 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 50.43 MB / 352 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004288/0.1111, allocations: 3.887 MB / 355.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1139, allocations: 1.612 MB / 357.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.1144, allocations: 12 kB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.1151, allocations: 227.1 kB / 357.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.1158, allocations: 206.7 kB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1173, allocations: 0.7665 MB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.1179, allocations: 0.6065 MB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.1194, allocations: 0.9115 MB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.1197, allocations: 238.9 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.12, allocations: 318.5 kB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1201, allocations: 28 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1206, allocations: 247.7 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1207, allocations: 111.5 kB / 361.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1209, allocations: 312.1 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.1217, allocations: 0.9149 MB / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1218, allocations: 0 / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1218, allocations: 0 / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1218, allocations: 0 / 362.3 MB, free: 8.902 MB / 302.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.003311/0.1251, allocations: 1.151 MB / 363.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1252, allocations: 8.031 kB / 363.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.1253, allocations: 122.8 kB / 363.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.1266, allocations: 208 kB / 363.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1269, allocations: 239.3 kB / 364 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.1269, allocations: 58.38 kB / 364.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.127, allocations: 80.31 kB / 364.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1284, allocations: 0.7778 MB / 365 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.1284, allocations: 7.906 kB / 365 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.1285, allocations: 28 kB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.1285, allocations: 23.98 kB / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1298, allocations: 0.6922 MB / 365.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.1337, allocations: 3.111 MB / 368.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1947/0.3285, allocations: 2.08 MB / 370.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.3296, allocations: 337.8 kB / 371.2 MB, free: 23.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.3298, allocations: 95.02 kB / 371.3 MB, free: 23.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3299, allocations: 43.27 kB / 371.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.3299, allocations: 0.7812 kB / 371.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003485/0.3334, allocations: 1.189 MB / 372.6 MB, free: 23.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.3334, allocations: 111.3 kB / 372.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3339, allocations: 278 kB / 372.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.334, allocations: 38.2 kB / 373 MB, free: 23.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3342, allocations: 294.4 kB / 373.3 MB, free: 22.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.3344, allocations: 250.5 kB / 373.5 MB, free: 22.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3345, allocations: 71.2 kB / 373.6 MB, free: 22.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3346, allocations: 346.6 kB / 373.9 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.3353, allocations: 242.7 kB / 374.2 MB, free: 22.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.3361, allocations: 392.5 kB / 374.5 MB, free: 22.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3374, allocations: 0.6585 MB / 375.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3374, allocations: 1.125 kB / 375.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001749/0.3391, allocations: 0.8556 MB / 376 MB, free: 21.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3392, allocations: 6.75 kB / 376.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3392, allocations: 4 kB / 376.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.3396, allocations: 126.5 kB / 376.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.3403, allocations: 162.5 kB / 376.3 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.3432, allocations: 3.414 MB / 379.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.3438, allocations: 94.88 kB / 379.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.3438, allocations: 33.83 kB / 379.9 MB, free: 18.53 MB / 302.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.0002957/0.3441, allocations: 200 kB / 380.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3442, allocations: 42.28 kB / 380.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.346, allocations: 0.7702 MB / 380.9 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.346, allocations: 7.547 kB / 380.9 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.346, allocations: 6.531 kB / 380.9 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.346, allocations: 11.17 kB / 380.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.3487, allocations: 1.513 MB / 382.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3487, allocations: 0 / 382.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.3492, allocations: 120.2 kB / 382.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.3495, allocations: 113 kB / 382.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.3496, allocations: 24.59 kB / 382.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.3518, allocations: 3.114 MB / 385.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3518, allocations: 1.125 kB / 385.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.3541, allocations: 1.149 MB / 386.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3543, allocations: 124.5 kB / 387.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.3544, allocations: 16.75 kB / 387.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3548, allocations: 35.78 kB / 387.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.355, allocations: 52.61 kB / 387.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.355, allocations: 20.42 kB / 387.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.3553, allocations: 194 kB / 387.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3553, allocations: 0 / 387.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3563, allocations: 217.2 kB / 387.6 MB, free: 13.3 MB / 302.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.002534/0.3589, allocations: 1.749 MB / 389.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3608, allocations: 0.8991 MB / 390.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3609, allocations: 0.6875 kB / 390.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.3618, allocations: 0.5787 MB / 390.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.3624, allocations: 37.22 kB / 390.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.3697, allocations: 5.185 MB / 396 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3702, allocations: 0.8649 MB / 396.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.3706, allocations: 79.77 kB / 397 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.3709, allocations: 202.2 kB / 397.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3709, allocations: 0 / 397.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3954, allocations: 9.928 MB / 407.1 MB, free: 156 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.3957, allocations: 252.7 kB / 407.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.539, allocations: 0 / 407.4 MB, free: 15.9 MB / 318.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