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.001495/0.001495, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.12 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2274, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005784/0.2332, allocations: 5.245 MB / 414.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.236, allocations: 1.728 MB / 416.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.2362, allocations: 20 kB / 416.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.2391, allocations: 1.412 MB / 417.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007943/0.2399, allocations: 321.6 kB / 418 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2412, allocations: 0.6536 MB / 418.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008484/0.2421, allocations: 0.8052 MB / 419.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2431, allocations: 0.7572 MB / 420.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.2435, allocations: 346.7 kB / 420.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.244, allocations: 466.1 kB / 421 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.2441, allocations: 76 kB / 421.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.2446, allocations: 263.8 kB / 421.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2447, allocations: 179.4 kB / 421.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.245, allocations: 425.9 kB / 421.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2461, allocations: 1.201 MB / 423.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2461, allocations: 0 / 423.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2461, allocations: 0 / 423.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2461, allocations: 0 / 423.1 MB, free: 3.684 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.003937/0.2501, allocations: 1.451 MB / 424.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2501, allocations: 8.031 kB / 424.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.2519, allocations: 255.7 kB / 424.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2521, allocations: 255.2 kB / 425.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.2522, allocations: 82.25 kB / 425.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2524, allocations: 108.3 kB / 425.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.2538, allocations: 0.9386 MB / 426.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.2539, allocations: 7.984 kB / 426.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.2539, allocations: 40 kB / 426.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.254, allocations: 24 kB / 426.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2552, allocations: 0.7808 MB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.26, allocations: 3.598 MB / 430.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2617, allocations: 1.248 MB / 431.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2622, allocations: 370 kB / 432.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.2624, allocations: 191.2 kB / 432.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2624, allocations: 39.56 kB / 432.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.285e-06/0.2624, allocations: 4 kB / 432.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.001971/0.2644, allocations: 1.304 MB / 433.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2644, allocations: 90.05 kB / 433.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.2648, allocations: 360.4 kB / 434.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2649, allocations: 41.7 kB / 434.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.265, allocations: 382.7 kB / 434.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.2652, allocations: 295.7 kB / 434.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.2655, allocations: 178.8 kB / 435.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2656, allocations: 362.8 kB / 435.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.266, allocations: 266.5 kB / 435.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.2666, allocations: 471.4 kB / 436.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.2676, allocations: 0.7745 MB / 436.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2676, allocations: 4 kB / 437 MB, free: 5.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001504/0.2691, allocations: 0.9768 MB / 437.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2691, allocations: 8 kB / 437.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2692, allocations: 11.94 kB / 437.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.2695, allocations: 123.4 kB / 438.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.2703, allocations: 207.7 kB / 438.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.2742, allocations: 6.102 MB / 444.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.2748, allocations: 115 kB / 444.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2748, allocations: 36 kB / 444.5 MB, free: 12.89 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.000287/0.2751, allocations: 229.5 kB / 444.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2752, allocations: 51.34 kB / 444.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2767, allocations: 0.8482 MB / 445.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2767, allocations: 12 kB / 445.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2767, allocations: 4 kB / 445.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2767, allocations: 11.91 kB / 445.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.2793, allocations: 2.089 MB / 447.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.2793, allocations: 7.938 kB / 447.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.2799, allocations: 135.8 kB / 447.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.2801, allocations: 111.6 kB / 448 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.2802, allocations: 16 kB / 448 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.2835, allocations: 5.708 MB / 453.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2836, allocations: 8 kB / 453.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2852, allocations: 1.269 MB / 455 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2853, allocations: 144.3 kB / 455.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.2854, allocations: 27.92 kB / 455.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.2858, allocations: 20.06 kB / 455.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2859, allocations: 64.52 kB / 455.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.2859, allocations: 24 kB / 455.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.2862, allocations: 255.2 kB / 455.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2862, allocations: 4 kB / 455.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.2871, allocations: 264.4 kB / 455.8 MB, free: 0.7695 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.0002489/0.2874, allocations: 158.6 kB / 456 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.2889, allocations: 1.177 MB / 457.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2889, allocations: 0 / 457.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.2897, allocations: 0.7927 MB / 457.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.2903, allocations: 61.38 kB / 458 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2925, allocations: 1.405 MB / 459.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2929, allocations: 0.911 MB / 460.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.2933, allocations: 101.1 kB / 460.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.2935, allocations: 59.42 kB / 460.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2935, allocations: 0 / 460.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Templates: time 0.0125/0.306, allocations: 7.271 MB / 467.7 MB, free: 4.68 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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