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.001538/0.001538, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.0015/0.0015, allocations: 200 kB / 18.01 MB, free: 5.047 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 48.02 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 49.44 MB / 400.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007325/0.2586, allocations: 5.25 MB / 405.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2621, allocations: 1.674 MB / 407.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.2625, allocations: 16 kB / 407.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.266, allocations: 1.414 MB / 408.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.2674, allocations: 313.6 kB / 408.9 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.2693, allocations: 0.8159 MB / 409.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2705, allocations: 0.8244 MB / 410.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.2717, allocations: 0.7652 MB / 411.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.2722, allocations: 350.7 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.2728, allocations: 462.1 kB / 412.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2729, allocations: 76 kB / 412.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.2736, allocations: 263.8 kB / 412.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2737, allocations: 179.3 kB / 412.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.2742, allocations: 421.9 kB / 413 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2757, allocations: 1.201 MB / 414.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2757, allocations: 0 / 414.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2757, allocations: 0 / 414.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2757, allocations: 0 / 414.2 MB, free: 10.91 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.004107/0.2799, allocations: 1.458 MB / 415.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2799, allocations: 8.031 kB / 415.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.2801, allocations: 152.4 kB / 415.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.2818, allocations: 260.1 kB / 416.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.2822, allocations: 267.3 kB / 416.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.2823, allocations: 78.31 kB / 416.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.2825, allocations: 100.3 kB / 416.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2841, allocations: 0.9384 MB / 417.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.2841, allocations: 3.984 kB / 417.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.2842, allocations: 40 kB / 417.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.2843, allocations: 24 kB / 417.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.2857, allocations: 0.7886 MB / 418.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.2913, allocations: 3.358 MB / 421.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.2935, allocations: 1.249 MB / 422.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.2941, allocations: 374 kB / 423.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2943, allocations: 102.1 kB / 423.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.2943, allocations: 47.5 kB / 423.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.945e-06/0.2943, allocations: 0 / 423.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.00239/0.2967, allocations: 1.304 MB / 424.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.2968, allocations: 94.11 kB / 424.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.2973, allocations: 364.4 kB / 425.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.2973, allocations: 41.69 kB / 425.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.2976, allocations: 392.3 kB / 425.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.2979, allocations: 313.3 kB / 425.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.2982, allocations: 174.9 kB / 426.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.2984, allocations: 366.7 kB / 426.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.2989, allocations: 266.5 kB / 426.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.2996, allocations: 479.3 kB / 427.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3008, allocations: 0.7667 MB / 428 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3008, allocations: 0 / 428 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001805/0.3026, allocations: 0.9849 MB / 428.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3026, allocations: 8 kB / 428.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3027, allocations: 4 kB / 428.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.3031, allocations: 123.4 kB / 429.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.3039, allocations: 207.7 kB / 429.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.3092, allocations: 6.126 MB / 435.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.3098, allocations: 103.2 kB / 435.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.3099, allocations: 40 kB / 435.5 MB, free: 4.293 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.0003587/0.3103, allocations: 225.5 kB / 435.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3104, allocations: 59.66 kB / 435.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.312, allocations: 0.8445 MB / 436.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3121, allocations: 8 kB / 436.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3121, allocations: 7.938 kB / 436.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3121, allocations: 3.984 kB / 436.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.3152, allocations: 1.946 MB / 438.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3152, allocations: 4 kB / 438.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.3158, allocations: 131.8 kB / 438.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.3161, allocations: 107.6 kB / 438.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.3162, allocations: 20 kB / 438.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004683/0.3209, allocations: 5.713 MB / 444.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3209, allocations: 4 kB / 444.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3229, allocations: 1.269 MB / 445.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.3231, allocations: 148.6 kB / 446 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.3232, allocations: 27.83 kB / 446 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.3236, allocations: 20 kB / 446.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3237, allocations: 60.52 kB / 446.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.3238, allocations: 31.98 kB / 446.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.3241, allocations: 251.2 kB / 446.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3241, allocations: 4.062 kB / 446.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3251, allocations: 259.6 kB / 446.7 MB, free: 8.363 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.002514/0.3277, allocations: 1.891 MB / 448.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3295, allocations: 1.17 MB / 449.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.3296, allocations: 0 / 449.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3306, allocations: 0.7962 MB / 450.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3312, allocations: 58.92 kB / 450.6 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.3398, allocations: 5.698 MB / 456.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.3405, allocations: 0.911 MB / 457.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.341, allocations: 105.1 kB / 457.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3413, allocations: 251.2 kB / 457.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3414, allocations: 0 / 457.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.3932, allocations: 12.8 MB / 470.3 MB, free: 384 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 14.98 kB / 470.3 MB, free: 376 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