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.001325/0.001325, allocations: 103.9 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.001364/0.001365, allocations: 195 kB / 18 MB, free: 5.094 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.91 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2558, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006353/0.2622, allocations: 5.242 MB / 405.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.2653, allocations: 1.685 MB / 407.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.2656, allocations: 16 kB / 407.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.2685, allocations: 1.417 MB / 408.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.2692, allocations: 309.7 kB / 408.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2706, allocations: 0.8192 MB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.2715, allocations: 0.8129 MB / 410.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.2725, allocations: 0.7668 MB / 411.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.2729, allocations: 350.7 kB / 411.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.2734, allocations: 466.1 kB / 412.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.2735, allocations: 80 kB / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.274, allocations: 259.8 kB / 412.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2741, allocations: 183.2 kB / 412.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.2744, allocations: 425.9 kB / 413 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2756, allocations: 1.195 MB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2756, allocations: 4 kB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2756, allocations: 0 / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.2756, 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.003694/0.2793, allocations: 1.436 MB / 415.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2794, allocations: 12.03 kB / 415.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.2795, allocations: 148.4 kB / 415.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.2811, allocations: 255.7 kB / 416.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.2813, allocations: 255.2 kB / 416.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.2814, allocations: 78.36 kB / 416.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.2815, allocations: 100.3 kB / 416.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.2829, allocations: 0.9462 MB / 417.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.2829, allocations: 0 / 417.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.283, allocations: 43.94 kB / 417.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.283, allocations: 24 kB / 417.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.2843, allocations: 0.777 MB / 418.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/0.2889, allocations: 3.357 MB / 421.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.2908, allocations: 1.252 MB / 422.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.2913, allocations: 362 kB / 423.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2914, allocations: 102.1 kB / 423.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.2915, allocations: 59.41 kB / 423.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.354e-06/0.2915, allocations: 0 / 423.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002125/0.2936, allocations: 1.3 MB / 424.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.2937, allocations: 90.09 kB / 424.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.2941, allocations: 360.4 kB / 425.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.2941, allocations: 45.64 kB / 425.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.2944, allocations: 386.8 kB / 425.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.2946, allocations: 299.6 kB / 425.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.2948, allocations: 174.8 kB / 426 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.295, allocations: 362.7 kB / 426.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.2954, allocations: 266.5 kB / 426.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.296, allocations: 479.3 kB / 427.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2971, allocations: 0.7667 MB / 427.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2971, allocations: 3.938 kB / 427.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001506/0.2986, allocations: 0.973 MB / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2986, allocations: 4 kB / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2987, allocations: 11.98 kB / 428.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.299, allocations: 127.3 kB / 429 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.2998, allocations: 199.7 kB / 429.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.3039, allocations: 6.118 MB / 435.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.3045, allocations: 102.9 kB / 435.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.3045, allocations: 39.98 kB / 435.4 MB, free: 4.238 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.0003146/0.3049, allocations: 235.2 kB / 435.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.305, allocations: 51.34 kB / 435.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3064, allocations: 0.8522 MB / 436.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.3064, allocations: 8 kB / 436.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3064, allocations: 7.938 kB / 436.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3064, allocations: 3.984 kB / 436.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.3091, allocations: 1.93 MB / 438.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3092, allocations: 0 / 438.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.3097, allocations: 139.8 kB / 438.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.31, allocations: 111.6 kB / 438.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.3101, allocations: 19.98 kB / 438.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.3139, allocations: 5.704 MB / 444.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3139, allocations: 8.125 kB / 444.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.3156, allocations: 1.269 MB / 445.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3158, allocations: 148.2 kB / 445.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.3159, allocations: 19.94 kB / 445.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.3163, allocations: 31.98 kB / 446 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.3164, allocations: 60.52 kB / 446 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.3164, allocations: 24 kB / 446.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3167, allocations: 259.1 kB / 446.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3167, allocations: 4.062 kB / 446.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008774/0.3176, allocations: 259.4 kB / 446.6 MB, free: 8.309 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.002117/0.3197, allocations: 1.865 MB / 448.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3213, allocations: 1.177 MB / 449.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3213, allocations: 0 / 449.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.3222, allocations: 0.7962 MB / 450.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3227, allocations: 61.36 kB / 450.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/0.3305, allocations: 5.695 MB / 456.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.331, allocations: 0.9071 MB / 457.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.3315, allocations: 109.1 kB / 457.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.3318, allocations: 235.4 kB / 457.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3318, allocations: 4 kB / 457.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/0.4107, allocations: 12.96 MB / 470.4 MB, free: 208 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.73, allocations: 8.547 kB / 470.4 MB, free: 200 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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