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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009765/0.0009766, allocations: 111.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 35.94 kB / 350.1 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2478, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004677/0.2525, allocations: 5.221 MB / 404.7 MB, free: 28.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.2549, allocations: 1.672 MB / 406.4 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.2553, allocations: 16 kB / 406.4 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.2576, allocations: 1.332 MB / 407.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007473/0.2584, allocations: 270.3 kB / 408 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2597, allocations: 0.7829 MB / 408.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007163/0.2604, allocations: 0.7897 MB / 409.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008502/0.2613, allocations: 0.7085 MB / 410.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.2616, allocations: 330.7 kB / 410.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.2619, allocations: 462.1 kB / 411.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.262, allocations: 56 kB / 411.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.2624, allocations: 235.8 kB / 411.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.2625, allocations: 163.2 kB / 411.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2627, allocations: 409.9 kB / 411.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.2635, allocations: 1.164 MB / 413.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2635, allocations: 8 kB / 413.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2635, allocations: 0 / 413.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2635, allocations: 3.938 kB / 413.1 MB, free: 19.75 MB / 298.7 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.003231/0.2667, allocations: 1.44 MB / 414.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2668, allocations: 12.03 kB / 414.5 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.2682, allocations: 251.7 kB / 414.8 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2684, allocations: 255.2 kB / 415 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.2685, allocations: 74.36 kB / 415.1 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2686, allocations: 100.3 kB / 415.2 MB, free: 17.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2698, allocations: 0.9425 MB / 416.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.2698, allocations: 4 kB / 416.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.2699, allocations: 40 kB / 416.2 MB, free: 16.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2699, allocations: 24 kB / 416.2 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.271, allocations: 0.7808 MB / 417 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.2749, allocations: 3.392 MB / 420.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2764, allocations: 1.253 MB / 421.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.2768, allocations: 370 kB / 422 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.2769, allocations: 106.1 kB / 422.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2769, allocations: 47.48 kB / 422.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.745e-06/0.2769, allocations: 0 / 422.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001729/0.2786, allocations: 1.304 MB / 423.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2787, allocations: 94.09 kB / 423.5 MB, free: 8.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.279, allocations: 364.3 kB / 423.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.279, allocations: 41.7 kB / 423.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2792, allocations: 378.9 kB / 424.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2793, allocations: 299.7 kB / 424.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.2795, allocations: 174.8 kB / 424.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.2796, allocations: 362.8 kB / 425.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2799, allocations: 262.5 kB / 425.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.2804, allocations: 483.4 kB / 425.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.2812, allocations: 0.7666 MB / 426.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2812, allocations: 0 / 426.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001428/0.2826, allocations: 0.9727 MB / 427.6 MB, free: 4.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2826, allocations: 8 kB / 427.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.2827, allocations: 4 kB / 427.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.2831, allocations: 131.5 kB / 427.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.2838, allocations: 199.7 kB / 427.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.2869, allocations: 5.566 MB / 433.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.2876, allocations: 102.9 kB / 433.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.2876, allocations: 47.94 kB / 433.6 MB, free: 13.91 MB / 314.7 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.0003385/0.288, allocations: 241.5 kB / 433.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2881, allocations: 51.34 kB / 433.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2895, allocations: 0.8444 MB / 434.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2895, allocations: 8 kB / 434.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2896, allocations: 19.86 kB / 434.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.2896, allocations: 3.984 kB / 434.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.2923, allocations: 1.928 MB / 436.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2923, allocations: 4 kB / 436.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.2928, allocations: 135.8 kB / 436.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.2931, allocations: 107.6 kB / 437 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.2932, allocations: 20 kB / 437 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.2966, allocations: 5.31 MB / 442.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2966, allocations: 0 / 442.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.2996, allocations: 2.594 MB / 444.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2998, allocations: 136.3 kB / 445 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.2998, allocations: 20 kB / 445 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.3002, allocations: 20 kB / 445.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3003, allocations: 68.64 kB / 445.1 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.3004, allocations: 27.92 kB / 445.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.3006, allocations: 255.2 kB / 445.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3007, allocations: 0 / 445.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001003/0.3017, allocations: 291.4 kB / 445.7 MB, free: 0.9453 MB / 314.7 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.0002378/0.3019, allocations: 147.1 kB / 445.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.3035, allocations: 1.173 MB / 447 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3035, allocations: 0 / 447 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.3043, allocations: 0.7952 MB / 447.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.3048, allocations: 62.05 kB / 447.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.3077, allocations: 2.186 MB / 450 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3082, allocations: 0.9305 MB / 451 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.3088, allocations: 105.1 kB / 451.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3089, allocations: 55.42 kB / 451.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.309, allocations: 0 / 451.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of Templates: time 0.01245/0.3214, allocations: 7.138 MB / 458.3 MB, free: 4.172 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../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