Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 112 kB / 17.74 MB, free: 5.203 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.001747/0.001747, allocations: 186.9 kB / 18.67 MB, free: 4.281 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2611, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004409/0.2655, allocations: 2.838 MB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2676, allocations: 1.149 MB / 405.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2678, allocations: 11.94 kB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.2695, allocations: 0.6166 MB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.27, allocations: 135 kB / 406.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.2713, allocations: 0.6908 MB / 406.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.272, allocations: 294.6 kB / 407.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.2725, allocations: 264.1 kB / 407.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.2727, allocations: 131.5 kB / 407.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.273, allocations: 167.3 kB / 407.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.2731, allocations: 28 kB / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.2736, allocations: 179.8 kB / 407.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.2736, allocations: 59.78 kB / 407.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2738, allocations: 151.3 kB / 408.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.2744, allocations: 0.4905 MB / 408.6 MB, free: 1.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2744, allocations: 4 kB / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2744, allocations: 0 / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2744, allocations: 0 / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001584/0.276, allocations: 0.7178 MB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.276, allocations: 12.03 kB / 409.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/0.2768, allocations: 116.4 kB / 409.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.2772, allocations: 256.6 kB / 409.7 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2773, allocations: 25.03 kB / 409.7 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.2773, allocations: 36.28 kB / 409.7 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.2778, allocations: 348.9 kB / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2779, allocations: 0 / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.2779, allocations: 12 kB / 410.1 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2779, allocations: 8 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.2783, allocations: 238.6 kB / 410.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.2803, allocations: 1.447 MB / 411.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.281, allocations: 0.6902 MB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2811, allocations: 107.5 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2812, allocations: 96.95 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.2813, allocations: 38.56 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.2813, allocations: 0 / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001189/0.2825, allocations: 499 kB / 413.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2825, allocations: 55.41 kB / 413.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2827, allocations: 176 kB / 413.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2828, allocations: 29.7 kB / 413.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2829, allocations: 176 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.2829, allocations: 86.69 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.283, allocations: 53.98 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2832, allocations: 326.8 kB / 414.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2833, allocations: 68.53 kB / 414.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2835, allocations: 133 kB / 414.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2838, allocations: 212.1 kB / 414.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2838, allocations: 0 / 414.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005679/0.2844, allocations: 328.4 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2844, allocations: 4.219 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2844, allocations: 8 kB / 414.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.2847, allocations: 76.8 kB / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2849, allocations: 43.92 kB / 414.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.2869, allocations: 2.033 MB / 417 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.2871, allocations: 27.75 kB / 417 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2871, allocations: 12 kB / 417 MB, free: 8.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.2873, allocations: 149.7 kB / 417.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2874, allocations: 19.75 kB / 417.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.288, allocations: 292 kB / 417.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.288, allocations: 3.938 kB / 417.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.288, allocations: 4 kB / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.288, allocations: 0 / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.289, allocations: 0.6892 MB / 418.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.289, allocations: 0 / 418.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2892, allocations: 27.98 kB / 418.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.2894, allocations: 72.81 kB / 418.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2894, allocations: 4 kB / 418.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.2912, allocations: 2.026 MB / 420.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2913, allocations: 0 / 420.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.2919, allocations: 448.5 kB / 420.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.292, allocations: 112.9 kB / 420.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.292, allocations: 4 kB / 420.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2922, allocations: 8 kB / 420.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.2922, allocations: 16.05 kB / 420.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2922, allocations: 11.98 kB / 420.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.2923, allocations: 127.5 kB / 421 MB, free: 4.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.2923, allocations: 0 / 421 MB, free: 4.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.2928, allocations: 99.62 kB / 421.1 MB, free: 4.215 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.2931, allocations: 123.2 kB / 421.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006219/0.2937, allocations: 358.2 kB / 421.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2937, allocations: 0 / 421.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.294, allocations: 253.3 kB / 421.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2944, allocations: 30.14 kB / 421.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2954, allocations: 0.5805 MB / 422.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2957, allocations: 0.7599 MB / 423.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.2958, allocations: 19.44 kB / 423.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2958, allocations: 0 / 423.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006052/0.3019, allocations: 3.995 MB / 427.2 MB, free: 14.02 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches