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.001708/0.001708, allocations: 113.5 kB / 17.06 MB, free: 5.992 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.001817/0.001818, allocations: 200 kB / 18.01 MB, free: 5.066 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.551/1.551, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 43.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2552, allocations: 49.44 MB / 400.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00683/0.2621, allocations: 5.238 MB / 405.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.265, allocations: 1.681 MB / 407.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.2653, allocations: 20 kB / 407.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.2685, allocations: 1.408 MB / 408.6 MB, free: 392 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.2693, allocations: 317.7 kB / 408.9 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2709, allocations: 0.8175 MB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.2718, allocations: 0.8167 MB / 410.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.2729, allocations: 0.7652 MB / 411.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2733, allocations: 354.7 kB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.2739, allocations: 462.1 kB / 412.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.274, allocations: 76 kB / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.2745, allocations: 259.8 kB / 412.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2746, allocations: 183.2 kB / 412.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.275, allocations: 421.9 kB / 413 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2763, allocations: 1.205 MB / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2764, allocations: 0 / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2764, allocations: 0 / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2764, allocations: 0 / 414.2 MB, free: 10.72 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.003787/0.2802, allocations: 1.458 MB / 415.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2802, allocations: 8.031 kB / 415.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.2804, allocations: 148.4 kB / 415.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.2821, allocations: 264.2 kB / 416.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.2823, allocations: 259.3 kB / 416.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.2824, allocations: 78.31 kB / 416.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.2826, allocations: 104.3 kB / 416.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2841, allocations: 0.9345 MB / 417.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.2842, allocations: 8 kB / 417.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.2843, allocations: 39.94 kB / 417.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.2843, allocations: 24 kB / 417.5 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.2857, allocations: 0.777 MB / 418.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.2909, allocations: 3.366 MB / 421.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.2929, allocations: 1.252 MB / 422.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.2935, allocations: 373.1 kB / 423.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.2937, allocations: 106.1 kB / 423.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.2937, allocations: 55.44 kB / 423.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.475e-06/0.2937, allocations: 0 / 423.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002313/0.2961, allocations: 1.301 MB / 424.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2961, allocations: 86.11 kB / 424.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.2966, allocations: 368.4 kB / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.2967, allocations: 37.7 kB / 425.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.2969, allocations: 392.2 kB / 425.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.2972, allocations: 321.3 kB / 425.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.2975, allocations: 174.9 kB / 426.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2977, allocations: 366.7 kB / 426.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.2981, allocations: 266.5 kB / 426.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.2989, allocations: 479.3 kB / 427.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3, allocations: 0.7667 MB / 428 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3001, allocations: 4 kB / 428 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001696/0.3018, allocations: 0.9771 MB / 428.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3018, allocations: 8 kB / 428.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3018, allocations: 8 kB / 429 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.3022, allocations: 127.3 kB / 429.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.303, allocations: 203.7 kB / 429.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.3079, allocations: 6.11 MB / 435.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.3085, allocations: 115.3 kB / 435.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.3086, allocations: 36 kB / 435.5 MB, free: 4.113 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.0003323/0.3089, allocations: 233.5 kB / 435.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.309, allocations: 51.67 kB / 435.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3106, allocations: 0.8522 MB / 436.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3106, allocations: 8 kB / 436.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3106, allocations: 7.938 kB / 436.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3107, allocations: 3.984 kB / 436.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.3136, allocations: 1.934 MB / 438.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.3136, allocations: 4 kB / 438.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.3142, allocations: 139.8 kB / 438.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.3145, allocations: 111.6 kB / 438.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.3146, allocations: 20 kB / 438.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.319, allocations: 5.701 MB / 444.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.319, allocations: 7.938 kB / 444.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.3209, allocations: 1.277 MB / 445.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3211, allocations: 148.6 kB / 446 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.3211, allocations: 27.83 kB / 446 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.3215, allocations: 20 kB / 446.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3217, allocations: 64.52 kB / 446.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.3217, allocations: 20 kB / 446.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.322, allocations: 259.2 kB / 446.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.322, allocations: 0 / 446.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008817/0.3229, allocations: 263.6 kB / 446.7 MB, free: 8.176 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.002367/0.3253, allocations: 1.88 MB / 448.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.327, allocations: 1.178 MB / 449.7 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3271, allocations: 0 / 449.7 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.328, allocations: 0.7912 MB / 450.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.3286, allocations: 59.67 kB / 450.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/0.3368, allocations: 5.709 MB / 456.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.3374, allocations: 0.9149 MB / 457.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.3379, allocations: 105.1 kB / 457.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.3382, allocations: 243.4 kB / 457.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3382, allocations: 0 / 457.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.3887, allocations: 12.8 MB / 470.3 MB, free: 208 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 8.469 kB / 470.3 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