Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009985/0.0009984, allocations: 99.94 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008928/0.0008929, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1836, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003029/0.1866, allocations: 2.876 MB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1879, allocations: 1.2 MB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.188, allocations: 4 kB / 411.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1891, allocations: 0.5857 MB / 411.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1893, allocations: 107.3 kB / 411.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.1902, allocations: 0.6467 MB / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1905, allocations: 294.6 kB / 412.8 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1909, allocations: 243.4 kB / 413 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.191, allocations: 131.5 kB / 413.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1912, allocations: 163.3 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1912, allocations: 20 kB / 413.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1915, allocations: 179.8 kB / 413.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.1915, allocations: 51.78 kB / 413.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.1916, allocations: 151.2 kB / 413.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.192, allocations: 492 kB / 414.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.192, allocations: 0 / 414.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.192, allocations: 4 kB / 414.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.192, allocations: 0 / 414.2 MB, free: 20.7 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001291/0.1933, allocations: 0.7294 MB / 414.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.1934, allocations: 8.031 kB / 414.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007097/0.1941, allocations: 124.5 kB / 415 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1943, allocations: 253.4 kB / 415.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1943, allocations: 25.03 kB / 415.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1944, allocations: 32.38 kB / 415.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1948, allocations: 336.9 kB / 415.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1948, allocations: 4 kB / 415.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.1948, allocations: 12 kB / 415.7 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1948, allocations: 12 kB / 415.7 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1951, allocations: 242.5 kB / 415.9 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1966, allocations: 1.435 MB / 417.4 MB, free: 17.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.1971, allocations: 0.7039 MB / 418.1 MB, free: 16.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.1972, allocations: 104.8 kB / 418.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.1974, allocations: 178.1 kB / 418.3 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1974, allocations: 34.5 kB / 418.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.1974, allocations: 0 / 418.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001051/0.1985, allocations: 496.5 kB / 418.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1985, allocations: 59.39 kB / 418.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1986, allocations: 179.2 kB / 419.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1986, allocations: 29.7 kB / 419.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1987, allocations: 175.9 kB / 419.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1988, allocations: 82.84 kB / 419.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.1988, allocations: 61.89 kB / 419.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.1989, allocations: 318.8 kB / 419.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.199, allocations: 76.47 kB / 419.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1991, allocations: 136.7 kB / 420 MB, free: 14.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1993, allocations: 212.1 kB / 420.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1993, allocations: 7.938 kB / 420.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004491/0.1998, allocations: 324.7 kB / 420.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1998, allocations: 8 kB / 420.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1998, allocations: 0 / 420.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.2001, allocations: 80.75 kB / 420.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2002, allocations: 39.92 kB / 420.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.2016, allocations: 1.835 MB / 422.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2017, allocations: 28 kB / 422.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2017, allocations: 8 kB / 422.5 MB, free: 11.7 MB / 298.7 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 9.405e-05/0.2018, allocations: 151.3 kB / 422.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.2019, allocations: 19.75 kB / 422.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.2023, allocations: 285.3 kB / 422.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2023, allocations: 7.938 kB / 422.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2023, allocations: 4 kB / 422.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2024, allocations: 0 / 422.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.2031, allocations: 0.6922 MB / 423.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2031, allocations: 0 / 423.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2032, allocations: 27.92 kB / 423.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.2034, allocations: 72.81 kB / 423.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2034, allocations: 0 / 423.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.2047, allocations: 1.835 MB / 425.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2047, allocations: 0 / 425.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009376/0.2056, allocations: 1.377 MB / 426.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.2057, allocations: 112.9 kB / 427.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2057, allocations: 4 kB / 427.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2058, allocations: 4 kB / 427.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.2059, allocations: 20.25 kB / 427.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2059, allocations: 8 kB / 427.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.206, allocations: 123.5 kB / 427.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.206, allocations: 3.938 kB / 427.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.2065, allocations: 111.8 kB / 427.3 MB, free: 6.492 MB / 298.7 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.0001787/0.2067, allocations: 135.1 kB / 427.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.2071, allocations: 354.5 kB / 427.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2071, allocations: 0 / 427.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2074, allocations: 250.3 kB / 428 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2078, allocations: 19.94 kB / 428.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.2086, allocations: 0.868 MB / 428.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.2088, allocations: 0.7712 MB / 429.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.2089, allocations: 21.95 kB / 429.7 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.209, allocations: 19.44 kB / 429.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.209, allocations: 4 kB / 429.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of Templates: time 0.004601/0.2136, allocations: 2.667 MB / 432.4 MB, free: 1.32 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches