Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001365/0.001365, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.286, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006968/0.293, allocations: 5.25 MB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2962, allocations: 1.724 MB / 415.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.2966, allocations: 20 kB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.2997, allocations: 1.408 MB / 417.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3007, allocations: 325.6 kB / 417.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3021, allocations: 0.6419 MB / 418.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3033, allocations: 0.8052 MB / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.3044, allocations: 0.763 MB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.3048, allocations: 350.7 kB / 420 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.3053, allocations: 474.1 kB / 420.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.3054, allocations: 72 kB / 420.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.306, allocations: 259.8 kB / 420.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3062, allocations: 175.4 kB / 421 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.3065, allocations: 433.9 kB / 421.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3078, allocations: 1.195 MB / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3078, allocations: 0 / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3078, allocations: 0 / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3078, allocations: 0 / 422.6 MB, free: 3.594 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.003945/0.3118, allocations: 1.455 MB / 424.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3119, allocations: 16.03 kB / 424.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.312, allocations: 148.4 kB / 424.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3137, allocations: 259.7 kB / 424.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3139, allocations: 255.2 kB / 424.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/0.314, allocations: 74.38 kB / 424.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.3141, allocations: 100.3 kB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3157, allocations: 0.9462 MB / 425.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3157, allocations: 0 / 425.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.3158, allocations: 40 kB / 425.9 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3158, allocations: 28 kB / 425.9 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3171, allocations: 0.777 MB / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.3223, allocations: 3.602 MB / 430.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3242, allocations: 1.245 MB / 431.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.3248, allocations: 381.9 kB / 431.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.325, allocations: 179.2 kB / 432.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.325, allocations: 51.48 kB / 432.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.545e-06/0.325, allocations: 0 / 432.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002166/0.3272, allocations: 1.292 MB / 433.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3273, allocations: 90.09 kB / 433.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.3277, allocations: 364.4 kB / 433.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3277, allocations: 41.7 kB / 433.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3279, allocations: 386.7 kB / 434.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3282, allocations: 299.7 kB / 434.6 MB, free: 7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.3284, allocations: 174.8 kB / 434.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3286, allocations: 362.7 kB / 435.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.329, allocations: 266.5 kB / 435.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.3296, allocations: 475.4 kB / 435.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3306, allocations: 0.7784 MB / 436.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3306, allocations: 0 / 436.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001558/0.3322, allocations: 0.9726 MB / 437.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3322, allocations: 7.938 kB / 437.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3322, allocations: 15.92 kB / 437.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.3326, allocations: 123.8 kB / 437.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.3334, allocations: 203.7 kB / 437.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004302/0.3377, allocations: 6.111 MB / 444 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.3382, allocations: 102.9 kB / 444.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.3383, allocations: 39.98 kB / 444.2 MB, free: 12.64 MB / 366.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.0002965/0.3386, allocations: 237.5 kB / 444.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3387, allocations: 51.34 kB / 444.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.34, allocations: 0.8559 MB / 445.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3401, allocations: 8 kB / 445.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3401, allocations: 7.938 kB / 445.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3401, allocations: 3.984 kB / 445.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.3427, allocations: 2.081 MB / 447.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.3428, allocations: 8.062 kB / 447.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.3433, allocations: 143.7 kB / 447.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.3436, allocations: 99.38 kB / 447.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.3436, allocations: 27.98 kB / 447.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.3474, allocations: 5.704 MB / 453.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3474, allocations: 11.92 kB / 453.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.349, allocations: 1.269 MB / 454.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3492, allocations: 144.3 kB / 454.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.3493, allocations: 24.12 kB / 454.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.3496, allocations: 20 kB / 454.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.3497, allocations: 68.55 kB / 454.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.3498, allocations: 28 kB / 454.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.35, allocations: 255.2 kB / 455.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3501, allocations: 0 / 455.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.3509, allocations: 267.5 kB / 455.5 MB, free: 0.5117 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.00208/0.353, allocations: 1.859 MB / 457.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.3545, allocations: 1.18 MB / 458.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3545, allocations: 0 / 458.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007869/0.3553, allocations: 0.7894 MB / 459.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.3559, allocations: 61.44 kB / 459.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.363, allocations: 5.696 MB / 465 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3634, allocations: 0.911 MB / 466 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.3639, allocations: 101.1 kB / 466.1 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3642, allocations: 251.3 kB / 466.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3642, allocations: 0 / 466.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06473/0.4289, allocations: 13 MB / 479.3 MB, free: 8.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.89, allocations: 7.25 kB / 479.3 MB, free: 8.348 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches