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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 50.53 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006384/0.2636, allocations: 5.253 MB / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.2667, allocations: 1.724 MB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005257/0.2673, allocations: 16 kB / 416.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.2705, allocations: 1.415 MB / 418.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2716, allocations: 329.6 kB / 418.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.273, allocations: 0.6347 MB / 419.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2741, allocations: 0.8052 MB / 420.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.2753, allocations: 0.7688 MB / 420.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.2758, allocations: 354.7 kB / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.2764, allocations: 458.1 kB / 421.7 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2765, allocations: 76 kB / 421.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.2771, allocations: 259.8 kB / 422 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2772, allocations: 179.3 kB / 422.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.2776, allocations: 433.9 kB / 422.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2787, allocations: 1.197 MB / 423.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2788, allocations: 4 kB / 423.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2788, allocations: 0 / 423.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2788, allocations: 0 / 423.8 MB, free: 3.691 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.003887/0.2827, allocations: 1.447 MB / 425.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2827, allocations: 8.031 kB / 425.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.2844, allocations: 259.7 kB / 425.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2846, allocations: 255.2 kB / 425.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.2847, allocations: 70.38 kB / 425.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.2848, allocations: 104.3 kB / 425.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2864, allocations: 0.9386 MB / 426.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.2864, allocations: 8 kB / 426.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.2865, allocations: 36 kB / 426.9 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.2865, allocations: 24 kB / 426.9 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2878, allocations: 0.7808 MB / 427.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.2927, allocations: 3.61 MB / 431.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.2946, allocations: 1.252 MB / 432.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.2951, allocations: 370 kB / 432.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.2953, allocations: 183.2 kB / 433.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2953, allocations: 47.48 kB / 433.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.2954, allocations: 0 / 433.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002133/0.2975, allocations: 1.304 MB / 434.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2976, allocations: 90.09 kB / 434.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.298, allocations: 360.4 kB / 434.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.298, allocations: 41.7 kB / 434.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.2982, allocations: 386.7 kB / 435.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.2984, allocations: 295.7 kB / 435.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.2987, allocations: 174.8 kB / 435.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2988, allocations: 362.8 kB / 436.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.2993, allocations: 262.5 kB / 436.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.2999, allocations: 479.4 kB / 436.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3009, allocations: 0.7706 MB / 437.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3009, allocations: 4 kB / 437.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001586/0.3025, allocations: 0.9729 MB / 438.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3025, allocations: 10.97 kB / 438.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3026, allocations: 11.98 kB / 438.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.3029, allocations: 127.2 kB / 438.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/0.3037, allocations: 207.7 kB / 439 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.3081, allocations: 6.106 MB / 445.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.3087, allocations: 106.9 kB / 445.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.3088, allocations: 39.98 kB / 445.2 MB, free: 12.91 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.0003179/0.3091, allocations: 237.5 kB / 445.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3092, allocations: 51.34 kB / 445.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.3107, allocations: 0.8481 MB / 446.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3107, allocations: 8 kB / 446.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3107, allocations: 8 kB / 446.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.3107, allocations: 7.922 kB / 446.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.3135, allocations: 2.081 MB / 448.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3135, allocations: 4 kB / 448.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.3141, allocations: 131.8 kB / 448.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.3144, allocations: 115.6 kB / 448.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.3145, allocations: 16 kB / 448.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.3182, allocations: 5.712 MB / 454.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3182, allocations: 3.938 kB / 454.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.3199, allocations: 1.277 MB / 455.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3201, allocations: 144.3 kB / 455.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.3202, allocations: 27.88 kB / 455.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.3206, allocations: 20 kB / 455.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3207, allocations: 64.62 kB / 455.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.3207, allocations: 24 kB / 456 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.321, allocations: 259.1 kB / 456.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.321, allocations: 0 / 456.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009239/0.322, allocations: 268.4 kB / 456.5 MB, free: 0.7812 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.0002669/0.3222, allocations: 151.1 kB / 456.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.3238, allocations: 1.173 MB / 457.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3239, allocations: 4 kB / 457.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.3247, allocations: 0.7873 MB / 458.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.3253, allocations: 72.64 kB / 458.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3277, allocations: 1.442 MB / 460.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3282, allocations: 0.911 MB / 461 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3284, allocations: 63.42 kB / 461.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3284, allocations: 0 / 461.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02108/0.3495, allocations: 21.02 MB / 482.1 MB, free: 6.949 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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