Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",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.001657/0.001657, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.002005/0.002005, allocations: 187 kB / 18.67 MB, free: 4.387 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.549/1.549, 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.002822/0.002822, allocations: 51.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1257, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.2059/0.3316, allocations: 5.213 MB / 379.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.3349, allocations: 1.723 MB / 381.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.3353, allocations: 17.12 kB / 381.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.3383, allocations: 1.406 MB / 383 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.3392, allocations: 320.4 kB / 383.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.3411, allocations: 0.8065 MB / 384.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3423, allocations: 0.81 MB / 384.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.3434, allocations: 0.7627 MB / 385.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.344, allocations: 349 kB / 386 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.3446, allocations: 473 kB / 386.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3447, allocations: 77.28 kB / 386.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007212/0.3455, allocations: 259.6 kB / 386.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3456, allocations: 179.9 kB / 387 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.346, allocations: 427.6 kB / 387.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.3479, allocations: 1.189 MB / 388.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3479, allocations: 0.6562 kB / 388.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3479, allocations: 0 / 388.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.3479, allocations: 1.406 kB / 388.6 MB, free: 6.793 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004528/0.3525, allocations: 1.465 MB / 390.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3525, allocations: 9.969 kB / 390.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.3527, allocations: 148.1 kB / 390.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.3544, allocations: 257.4 kB / 390.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3548, allocations: 265.9 kB / 390.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.3549, allocations: 77.34 kB / 390.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.3551, allocations: 96.86 kB / 390.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3568, allocations: 0.9476 MB / 391.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3568, allocations: 6.281 kB / 391.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.3569, allocations: 40.59 kB / 391.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.357, allocations: 23.22 kB / 391.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3583, allocations: 0.7787 MB / 392.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.3634, allocations: 3.366 MB / 396.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.3654, allocations: 1.253 MB / 397.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.3659, allocations: 375.2 kB / 397.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.366, allocations: 102.9 kB / 397.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.366, allocations: 51.34 kB / 397.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.005e-06/0.366, allocations: 1.125 kB / 397.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002143/0.3682, allocations: 1.296 MB / 399.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.3682, allocations: 92.08 kB / 399.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.3686, allocations: 364.7 kB / 399.6 MB, free: 400 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.3687, allocations: 41.83 kB / 399.6 MB, free: 356 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3689, allocations: 395.3 kB / 400 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.3692, allocations: 318.8 kB / 400.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.3695, allocations: 173.9 kB / 400.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3697, allocations: 365.6 kB / 400.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.3702, allocations: 268.5 kB / 401.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.3708, allocations: 470.5 kB / 401.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.3721, allocations: 0.769 MB / 402.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.3721, allocations: 1.312 kB / 402.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001831/0.374, allocations: 0.975 MB / 403.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.374, allocations: 7.625 kB / 403.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.374, allocations: 13.06 kB / 403.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.3746, allocations: 122.3 kB / 403.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.3754, allocations: 205.6 kB / 403.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.3807, allocations: 6.132 MB / 409.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.3816, allocations: 106.9 kB / 409.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.3818, allocations: 38.16 kB / 409.9 MB, free: 7.676 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003996/0.3822, allocations: 228.7 kB / 410.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3823, allocations: 56.69 kB / 410.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.384, allocations: 0.851 MB / 411.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.384, allocations: 10.06 kB / 411.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.384, allocations: 6.562 kB / 411.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.384, allocations: 4.266 kB / 411.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.3873, allocations: 1.925 MB / 413 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3873, allocations: 2.281 kB / 413 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.3879, allocations: 138.1 kB / 413.2 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.3883, allocations: 112.3 kB / 413.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.3883, allocations: 15.72 kB / 413.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/0.393, allocations: 5.712 MB / 419 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.393, allocations: 6.625 kB / 419 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3951, allocations: 1.277 MB / 420.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.3953, allocations: 150.8 kB / 420.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.3954, allocations: 24.69 kB / 420.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3958, allocations: 20.5 kB / 420.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.3961, allocations: 65.14 kB / 420.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.3961, allocations: 27.14 kB / 420.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.3965, allocations: 254.1 kB / 420.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3965, allocations: 4 kB / 420.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3976, allocations: 260.6 kB / 421.1 MB, free: 14.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.4001, allocations: 1.867 MB / 422.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4021, allocations: 1.178 MB / 424.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4021, allocations: 4.062 kB / 424.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4032, allocations: 0.787 MB / 424.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.4039, allocations: 65.17 kB / 425 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008786/0.4127, allocations: 5.712 MB / 430.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.4135, allocations: 0.9149 MB / 431.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.414, allocations: 105.1 kB / 431.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.4144, allocations: 243.3 kB / 431.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4144, allocations: 4 kB / 431.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05639/0.4708, allocations: 12.77 MB / 444.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.61, allocations: 7.844 kB / 444.7 MB, free: 7.285 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches