Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_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.001608/0.001608, allocations: 111.7 kB / 17.06 MB, free: 6.016 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.001857/0.001857, allocations: 191 kB / 18 MB, free: 5.098 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 47.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3162, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.009524/0.3258, allocations: 5.252 MB / 405.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.3303, allocations: 1.681 MB / 407.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.3309, allocations: 16 kB / 407.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.3349, allocations: 1.419 MB / 408.6 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3364, allocations: 317.6 kB / 408.9 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.3389, allocations: 0.812 MB / 409.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3406, allocations: 0.8127 MB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.3424, allocations: 0.7691 MB / 411.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.3432, allocations: 346.7 kB / 411.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.3442, allocations: 466.1 kB / 412.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.3445, allocations: 80 kB / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009526/0.3454, allocations: 259.8 kB / 412.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.3457, allocations: 179.3 kB / 412.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.3465, allocations: 421.9 kB / 413 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.3487, allocations: 1.205 MB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3487, allocations: 0 / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3487, allocations: 0 / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.081e-05/0.3488, allocations: 0 / 414.2 MB, free: 10.77 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006435/0.3552, allocations: 1.462 MB / 415.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3553, allocations: 8.031 kB / 415.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003399/0.3556, allocations: 148.4 kB / 415.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.3586, allocations: 256.2 kB / 416.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.3591, allocations: 267.2 kB / 416.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3592, allocations: 74.38 kB / 416.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.3595, allocations: 104.3 kB / 416.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.3625, allocations: 0.9384 MB / 417.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/0.3626, allocations: 0 / 417.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3627, allocations: 40 kB / 417.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.3628, allocations: 24 kB / 417.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3651, allocations: 0.7808 MB / 418.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007141/0.3722, allocations: 3.366 MB / 421.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.3746, allocations: 1.252 MB / 422.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.3753, allocations: 374 kB / 423.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3755, allocations: 98.08 kB / 423.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.3755, allocations: 55.48 kB / 423.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.857e-06/0.3756, allocations: 0 / 423.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.00235/0.3779, allocations: 1.297 MB / 424.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.378, allocations: 94.05 kB / 424.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.3785, allocations: 368.4 kB / 425.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3786, allocations: 37.7 kB / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.3788, allocations: 396.2 kB / 425.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.3791, allocations: 321.3 kB / 425.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3794, allocations: 170.9 kB / 426.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3796, allocations: 366.7 kB / 426.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.3801, allocations: 266.5 kB / 426.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.3808, allocations: 479.3 kB / 427.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3818, allocations: 0.7667 MB / 428 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3818, allocations: 3.938 kB / 428 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001742/0.3836, allocations: 0.9771 MB / 428.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3836, allocations: 10.66 kB / 428.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3836, allocations: 4 kB / 428.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.384, allocations: 127.3 kB / 429.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007714/0.3848, allocations: 207.7 kB / 429.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.3895, allocations: 6.118 MB / 435.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.3902, allocations: 107.3 kB / 435.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.3903, allocations: 43.98 kB / 435.5 MB, free: 4.152 MB / 350.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.0003921/0.3907, allocations: 225.5 kB / 435.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3909, allocations: 55.67 kB / 435.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.3924, allocations: 0.8482 MB / 436.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3924, allocations: 8 kB / 436.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3924, allocations: 3.938 kB / 436.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3924, allocations: 7.984 kB / 436.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.3954, allocations: 1.934 MB / 438.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3955, allocations: 4 kB / 438.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.396, allocations: 139.8 kB / 438.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.3964, allocations: 103.7 kB / 438.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.3964, allocations: 23.98 kB / 438.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004197/0.4006, allocations: 5.713 MB / 444.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4007, allocations: 0 / 444.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.4025, allocations: 1.269 MB / 445.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.4027, allocations: 144.7 kB / 446 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4028, allocations: 31.89 kB / 446 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.4033, allocations: 23.98 kB / 446.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4034, allocations: 60.52 kB / 446.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.4034, allocations: 24 kB / 446.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.4038, allocations: 259.2 kB / 446.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4038, allocations: 0 / 446.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4048, allocations: 259.6 kB / 446.6 MB, free: 8.23 MB / 366.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.002319/0.4071, allocations: 1.88 MB / 448.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.409, allocations: 1.182 MB / 449.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4091, allocations: 3.938 kB / 449.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.41, allocations: 0.7873 MB / 450.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.4106, allocations: 66.05 kB / 450.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008611/0.4193, allocations: 5.706 MB / 456.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4199, allocations: 0.911 MB / 457.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.4204, allocations: 109.1 kB / 457.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.4207, allocations: 243.4 kB / 457.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4207, allocations: 0 / 457.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.4676, allocations: 12.79 MB / 470.3 MB, free: 252 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.11, allocations: 10.64 kB / 470.3 MB, free: 248 kB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches